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