ImDiskObject Constructor (String, FileAccess) |
Opens specified Path with CreateFile Win32 API and encapsulates the returned handle
in a new ImDiskObject.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax protected ImDiskObject(
string Path,
FileAccess AccessMode
)
Protected Sub New (
Path As String,
AccessMode As FileAccess
)
protected:
ImDiskObject(
String^ Path,
FileAccess AccessMode
)
new :
Path : string *
AccessMode : FileAccess -> ImDiskObject
Parameters
- Path
- Type: SystemString
Path to pass to CreateFile API - AccessMode
- Type: System.IOFileAccess
Access mode for opening and for underlying FileStream
See Also