C# 클래스 LazyCopy.DriverClientLibrary.FltmcManager

파일 보기 프로젝트 열기: aleksk/LazyCopy 1 사용 예제들

공개 메소드들

메소드 설명
AttachFilter ( string filterName, string volumeName ) : string

Attaches a new MiniFilter instance to the given volume.
The same operation may be performed from the command line (administrative privileges are needed): fltmc attach %filterName% %volumeName%

NOTE: This method doesn't throw an exception if the MiniFilter driver is already attached.

DetachFilter ( string filterName, string volumeName ) : void

Detaches the given MiniFilter instance from the given volume.
The same operation may be performed from the command line (administrative privileges are needed): fltmc detach %filterName% %volumeName%

NOTE: This method doesn't throw an exception if the MiniFilter driver is already detached.

비공개 메소드들

메소드 설명
AttachFilter ( string filterName, string volumeName, string instanceName ) : string
DetachFilter ( string filterName, string volumeName, string instanceName ) : void
FltmcManager ( ) : System

Prevents a default instance of the FltmcManager class from being created.

GetFiltersInformation ( ) : IEnumerable
LoadFilter ( string filterName ) : void
MarshalFilterInfo ( IntPtr ptr ) : IEnumerable

Marshals the filter info objects from the ptr specified.

UnloadFilter ( string filterName ) : void

메소드 상세

AttachFilter() 공개 메소드

Attaches a new MiniFilter instance to the given volume.
The same operation may be performed from the command line (administrative privileges are needed): fltmc attach %filterName% %volumeName%
NOTE: This method doesn't throw an exception if the MiniFilter driver is already attached.
or is or empty. Driver was not attached.
public AttachFilter ( string filterName, string volumeName ) : string
filterName string Name of the MiniFilter driver.
volumeName string /// Volume name to attach the driver to.
/// The input string can be any of the following. The trailing backslash (\) is optional. /// /// /// A drive letter, such as "D:\" /// /// /// A path to a volume mount point, such as "c:\mnt\edrive\" /// /// /// A unique volume identifier (also called a volume GUID name), /// such as "\??\Volume{7603f260-142a-11d4-ac67-806d6172696f}\" /// /// /// A non-persistent device name (also called a target name or an NT device name), /// such as "\Device\HarddiskVolume1\" /// /// ///
리턴 string

DetachFilter() 공개 메소드

Detaches the given MiniFilter instance from the given volume.
The same operation may be performed from the command line (administrative privileges are needed): fltmc detach %filterName% %volumeName%
NOTE: This method doesn't throw an exception if the MiniFilter driver is already detached.
or is or empty. Driver was not detached.
public DetachFilter ( string filterName, string volumeName ) : void
filterName string Name of the MiniFilter driver.
volumeName string /// Volume name to detach the driver from.
/// The input string can be any of the following. The trailing backslash (\) is optional. /// /// /// A drive letter, such as "D:\" /// /// /// A path to a volume mount point, such as "c:\mnt\edrive\" /// /// /// A unique volume identifier (also called a volume GUID name), /// such as "\??\Volume{7603f260-142a-11d4-ac67-806d6172696f}\" /// /// /// A non-persistent device name (also called a target name or an NT device name), /// such as "\Device\HarddiskVolume1\" /// /// ///
리턴 void