C# Class Mirror.Mirror

Inheritance: IDokanOperations
Show file Open project: apaka/dokan-net

Public Methods

Method Description
Cleanup ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
CloseFile ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
CreateDirectory ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
CreateFile ( string fileName, DokanNet.FileAccess access, FileShare share, FileMode mode, FileOptions options, FileAttributes attributes, DokanNet.DokanFileInfo info ) : DokanError
DeleteDirectory ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
DeleteFile ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
FindFiles ( string fileName, IList &files, DokanNet.DokanFileInfo info ) : DokanError
FlushFileBuffers ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
GetDiskFreeSpace ( long &free, long &total, long &used, DokanNet.DokanFileInfo info ) : DokanError
GetFileInformation ( string fileName, DokanNet.FileInformation &fileInfo, DokanNet.DokanFileInfo info ) : DokanError
GetFileSecurity ( string fileName, FileSystemSecurity &security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : DokanError
GetVolumeInformation ( string &volumeLabel, FileSystemFeatures &features, string &fileSystemName, DokanNet.DokanFileInfo info ) : DokanError
LockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : DokanError
Mirror ( string path ) : System
MoveFile ( string oldName, string newName, bool replace, DokanNet.DokanFileInfo info ) : DokanError
OpenDirectory ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
ReadFile ( string fileName, byte buffer, int &bytesRead, long offset, DokanNet.DokanFileInfo info ) : DokanError
SetAllocationSize ( string fileName, long length, DokanNet.DokanFileInfo info ) : DokanError
SetEndOfFile ( string fileName, long length, DokanNet.DokanFileInfo info ) : DokanError
SetFileAttributes ( string fileName, FileAttributes attributes, DokanNet.DokanFileInfo info ) : DokanError
SetFileSecurity ( string fileName, FileSystemSecurity security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : DokanError
SetFileTime ( string fileName, System.DateTime creationTime, System.DateTime lastAccessTime, System.DateTime lastWriteTime, DokanNet.DokanFileInfo info ) : DokanError
UnlockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : DokanError
Unmount ( DokanNet.DokanFileInfo info ) : DokanError
WriteFile ( string fileName, byte buffer, int &bytesWritten, long offset, DokanNet.DokanFileInfo info ) : DokanError

Private Methods

Method Description
GetPath ( string fileName ) : string
Main ( string args ) : void

Method Details

Cleanup() public method

public Cleanup ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
fileName string
info DokanNet.DokanFileInfo
return DokanError

CloseFile() public method

public CloseFile ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
fileName string
info DokanNet.DokanFileInfo
return DokanError

CreateDirectory() public method

public CreateDirectory ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
fileName string
info DokanNet.DokanFileInfo
return DokanError

CreateFile() public method

public CreateFile ( string fileName, DokanNet.FileAccess access, FileShare share, FileMode mode, FileOptions options, FileAttributes attributes, DokanNet.DokanFileInfo info ) : DokanError
fileName string
access DokanNet.FileAccess
share FileShare
mode FileMode
options FileOptions
attributes FileAttributes
info DokanNet.DokanFileInfo
return DokanError

DeleteDirectory() public method

public DeleteDirectory ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
fileName string
info DokanNet.DokanFileInfo
return DokanError

DeleteFile() public method

public DeleteFile ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
fileName string
info DokanNet.DokanFileInfo
return DokanError

FindFiles() public method

public FindFiles ( string fileName, IList &files, DokanNet.DokanFileInfo info ) : DokanError
fileName string
files IList
info DokanNet.DokanFileInfo
return DokanError

FlushFileBuffers() public method

public FlushFileBuffers ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
fileName string
info DokanNet.DokanFileInfo
return DokanError

GetDiskFreeSpace() public method

public GetDiskFreeSpace ( long &free, long &total, long &used, DokanNet.DokanFileInfo info ) : DokanError
free long
total long
used long
info DokanNet.DokanFileInfo
return DokanError

GetFileInformation() public method

public GetFileInformation ( string fileName, DokanNet.FileInformation &fileInfo, DokanNet.DokanFileInfo info ) : DokanError
fileName string
fileInfo DokanNet.FileInformation
info DokanNet.DokanFileInfo
return DokanError

GetFileSecurity() public method

public GetFileSecurity ( string fileName, FileSystemSecurity &security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : DokanError
fileName string
security System.Security.AccessControl.FileSystemSecurity
sections AccessControlSections
info DokanNet.DokanFileInfo
return DokanError

GetVolumeInformation() public method

public GetVolumeInformation ( string &volumeLabel, FileSystemFeatures &features, string &fileSystemName, DokanNet.DokanFileInfo info ) : DokanError
volumeLabel string
features FileSystemFeatures
fileSystemName string
info DokanNet.DokanFileInfo
return DokanError

LockFile() public method

public LockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : DokanError
fileName string
offset long
length long
info DokanNet.DokanFileInfo
return DokanError

Mirror() public method

public Mirror ( string path ) : System
path string
return System

MoveFile() public method

public MoveFile ( string oldName, string newName, bool replace, DokanNet.DokanFileInfo info ) : DokanError
oldName string
newName string
replace bool
info DokanNet.DokanFileInfo
return DokanError

OpenDirectory() public method

public OpenDirectory ( string fileName, DokanNet.DokanFileInfo info ) : DokanError
fileName string
info DokanNet.DokanFileInfo
return DokanError

ReadFile() public method

public ReadFile ( string fileName, byte buffer, int &bytesRead, long offset, DokanNet.DokanFileInfo info ) : DokanError
fileName string
buffer byte
bytesRead int
offset long
info DokanNet.DokanFileInfo
return DokanError

SetAllocationSize() public method

public SetAllocationSize ( string fileName, long length, DokanNet.DokanFileInfo info ) : DokanError
fileName string
length long
info DokanNet.DokanFileInfo
return DokanError

SetEndOfFile() public method

public SetEndOfFile ( string fileName, long length, DokanNet.DokanFileInfo info ) : DokanError
fileName string
length long
info DokanNet.DokanFileInfo
return DokanError

SetFileAttributes() public method

public SetFileAttributes ( string fileName, FileAttributes attributes, DokanNet.DokanFileInfo info ) : DokanError
fileName string
attributes FileAttributes
info DokanNet.DokanFileInfo
return DokanError

SetFileSecurity() public method

public SetFileSecurity ( string fileName, FileSystemSecurity security, AccessControlSections sections, DokanNet.DokanFileInfo info ) : DokanError
fileName string
security System.Security.AccessControl.FileSystemSecurity
sections AccessControlSections
info DokanNet.DokanFileInfo
return DokanError

SetFileTime() public method

public SetFileTime ( string fileName, System.DateTime creationTime, System.DateTime lastAccessTime, System.DateTime lastWriteTime, DokanNet.DokanFileInfo info ) : DokanError
fileName string
creationTime System.DateTime
lastAccessTime System.DateTime
lastWriteTime System.DateTime
info DokanNet.DokanFileInfo
return DokanError

UnlockFile() public method

public UnlockFile ( string fileName, long offset, long length, DokanNet.DokanFileInfo info ) : DokanError
fileName string
offset long
length long
info DokanNet.DokanFileInfo
return DokanError

Unmount() public method

public Unmount ( DokanNet.DokanFileInfo info ) : DokanError
info DokanNet.DokanFileInfo
return DokanError

WriteFile() public method

public WriteFile ( string fileName, byte buffer, int &bytesWritten, long offset, DokanNet.DokanFileInfo info ) : DokanError
fileName string
buffer byte
bytesWritten int
offset long
info DokanNet.DokanFileInfo
return DokanError