FileOpenBackupRead Method (String) |
[AlphaFS] Opens the specified file for reading purposes bypassing security attributes. This method is simpler to use then BackupFileStream to read only file's data stream.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static FileStream OpenBackupRead(
string path
)
Public Shared Function OpenBackupRead (
path As String
) As FileStream
public:
static FileStream^ OpenBackupRead(
String^ path
)
static member OpenBackupRead :
path : string -> FileStream
Parameters
- path
- Type: SystemString
The file path to open.
Return Value
Type:
FileStreamA
FileStream on the specified path, having the read-only mode and sharing options.
See Also