Method | Description | |
---|---|---|
AddCertificate ( |
||
CopyFile ( string oldPath, string newPath ) : void | ||
CreateDirectory ( string path ) : void | ||
DeleteDirectory ( string dir ) : void | ||
DeleteFile ( string path ) : void | ||
DirectoryExists ( string path ) : bool | ||
EmptyDirectory ( string dirPath ) : void | ||
FileExists ( string path ) : bool | ||
GetCertificate ( string thumbprint ) : |
||
GetDirectories ( string sourceDirName ) : string[] | ||
GetDirectories ( string startDirectory, string filePattern, SearchOption options ) : string[] | ||
GetFileAttributes ( string path ) : FileAttributes | ||
GetFiles ( string sourceDirName ) : string[] | ||
GetFiles ( string startDirectory, string filePattern, SearchOption options ) : string[] | ||
ReadFileAsBytes ( string path ) : byte[] | ||
ReadFileAsStream ( string path ) : Stream | ||
ReadFileAsText ( string path ) : string | ||
RemoveCertificate ( string thumbprint ) : void | ||
RenameFile ( string oldPath, string newPath ) : void | ||
WriteFile ( string path, byte contents ) : void | ||
WriteFile ( string path, string contents ) : void | ||
WriteFile ( string path, string contents, |
Method | Description | |
---|---|---|
WildcardToRegex ( string wildcard ) : string |
Converts unix asterisk based file pattern to regex
|
public AddCertificate ( |
||
cert | ||
return | void |
public CopyFile ( string oldPath, string newPath ) : void | ||
oldPath | string | |
newPath | string | |
return | void |
public CreateDirectory ( string path ) : void | ||
path | string | |
return | void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
return | bool |
public EmptyDirectory ( string dirPath ) : void | ||
dirPath | string | |
return | void |
public GetCertificate ( string thumbprint ) : |
||
thumbprint | string | |
return |
public GetDirectories ( string sourceDirName ) : string[] | ||
sourceDirName | string | |
return | string[] |
public GetDirectories ( string startDirectory, string filePattern, SearchOption options ) : string[] | ||
startDirectory | string | |
filePattern | string | |
options | SearchOption | |
return | string[] |
public GetFileAttributes ( string path ) : FileAttributes | ||
path | string | |
return | FileAttributes |
public GetFiles ( string sourceDirName ) : string[] | ||
sourceDirName | string | |
return | string[] |
public GetFiles ( string startDirectory, string filePattern, SearchOption options ) : string[] | ||
startDirectory | string | |
filePattern | string | |
options | SearchOption | |
return | string[] |
public ReadFileAsBytes ( string path ) : byte[] | ||
path | string | |
return | byte[] |
public ReadFileAsStream ( string path ) : Stream | ||
path | string | |
return | Stream |
public ReadFileAsText ( string path ) : string | ||
path | string | |
return | string |
public RemoveCertificate ( string thumbprint ) : void | ||
thumbprint | string | |
return | void |
public RenameFile ( string oldPath, string newPath ) : void | ||
oldPath | string | |
newPath | string | |
return | void |
public WriteFile ( string path, byte contents ) : void | ||
path | string | |
contents | byte | |
return | void |
public WriteFile ( string path, string contents ) : void | ||
path | string | |
contents | string | |
return | void |
public WriteFile ( string path, string contents, |
||
path | string | |
contents | string | |
encoding | ||
return | void |