Working with Files and Directories using ASP.NET
page 5 of 8
by SANJIT SIL
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 55340/ 61

FileShare Enumeration

FileShare Enumeration specifies the level of access permitted for a file that is already in use.

Delete

It allows subsequent deleting of a file. 

Inheritable

It makes the file handle inheritable by child processes.  This is not directly supported by Win32.

None

It declines sharing of the current file.  Any request to open the file (by this process or another process) will fail until the file is closed. 

Read

It allows subsequent opening of the file for reading.  If this flag is not specified, any request to open the file for reading (by this process or another process) will fail until the file is closed. However, additional permissions will still be needed to access the file, even if this flag is specified. 

ReadWrite

It allows subsequent opening of the file for reading or writing. If this flag is not specified, any request to open the file for reading or writing (by this process or another process) will fail until the file is closed.  However, additional permissions will still be needed to access the file, even if this flag is specified. 

Write

It allows subsequent opening of the file for writing.  If this flag is not specified, any request to open the file for writing (by this process or another process) will fail until the file is closed. However, additional permissions will still be needed to access the file, even if this flag is specified. 


View Entire Article

User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-19 9:44:13 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search