메소드 | 설명 | |
---|---|---|
AdministratorPermissionsCheck ( String SystemDir, String PrgFilesDir ) : System.Boolean |
Checks wheater the application is running with administrator rights
|
|
CommandExecute ( string program, string arguments, string workingDirectory, int timeoutMinutes ) : string | ||
CommandExecute ( string program, string arguments, string workingDirectory ) : void |
Executes shell commands
|
|
CommandLineExecute ( string program, string arguments, string &standardOutputMessage, string &standardErrorMessage, string workingDirectory ) : int |
Executes shell commands
|
|
CommandLineExecute ( string program, string arguments, string workingDirectory ) : string |
Executes shell commands deprecated
|
|
CommandLineExecuteInBackground ( string program, string arguments, string workingDirectory ) : void |
Executes shell commands in background
|
|
CommandLineVerboseExecute ( string program, string arguments, string &standardOutputMessage, string &standardErrorMessage, string workingDirectory ) : int |
Executes shell commands
|
|
CommandLineVerboseExecute ( string program, string arguments, string workingDirectory ) : string |
Executes shell commands deprecated
|
|
DirectoryCopy ( string srcDir, string trgDir ) : void | ||
DirectoryGetFilesRecursive ( string b ) : List |
Gera uma lista lista dos arquivos contidos num determinado diretório
|
|
FileBaseName ( string FileName ) : string |
Retira a extnsão do nome do arquivo
|
|
FileName ( string pathAndFileName ) : string |
Extrai o nome de um arquivo do caminho informado
|
|
FilePath ( string pathAndFileName ) : string |
Extrai o caminho do arquivo informado. Deve ser informado o caminho completo do arquivo
|
|
MD5 ( string input ) : string | ||
MyApplicationIsAlreadyIsRunning ( string name ) : bool |
Find if your application is already running (needs you application process name)
|
|
ProcessAllInstancesFindAndKill ( string name ) : bool |
Kill all the processes that matches the begining of the name
|
|
ProcessAllInstancesFindAndKillBeginingWith ( string name ) : bool |
Kill all the processes that matches the begining of the name
|
|
ProcessFind ( string name ) : bool |
Find if there is a process running that starts with the same name
|
|
ProcessFindBeginingWith ( string name ) : bool |
Find if there is a process running that starts with the same name
|
|
RarFileDecompress ( string file, string rarExecutableDir ) : bool |
Descompacta para o mesmo diretório que estiver o arquivo compactado. Deve ser passado o diretório onde estar o executável do RAR
|
|
TimestampToPath ( DateTime dt ) : string |
public static AdministratorPermissionsCheck ( String SystemDir, String PrgFilesDir ) : System.Boolean | ||
SystemDir | String | |
PrgFilesDir | String | |
리턴 | System.Boolean |
public static CommandExecute ( string program, string arguments, string workingDirectory, int timeoutMinutes ) : string | ||
program | string | |
arguments | string | |
workingDirectory | string | |
timeoutMinutes | int | |
리턴 | string |
public static CommandExecute ( string program, string arguments, string workingDirectory ) : void | ||
program | string | |
arguments | string | |
workingDirectory | string | |
리턴 | void |
public static CommandLineExecute ( string program, string arguments, string &standardOutputMessage, string &standardErrorMessage, string workingDirectory ) : int | ||
program | string | Programa a ser chamado pela linha de comando |
arguments | string | Conjunto de argumentos |
standardOutputMessage | string | Mensagem de saída |
standardErrorMessage | string | Mensagem de erro |
workingDirectory | string | Diretório de trabalho |
리턴 | int |
public static CommandLineExecute ( string program, string arguments, string workingDirectory ) : string | ||
program | string | Programa a ser chamado pela linha de comando |
arguments | string | Conjunto de argumentos |
workingDirectory | string | Diretório de trabalho |
리턴 | string |
public static CommandLineExecuteInBackground ( string program, string arguments, string workingDirectory ) : void | ||
program | string | |
arguments | string | |
workingDirectory | string | |
리턴 | void |
public static CommandLineVerboseExecute ( string program, string arguments, string &standardOutputMessage, string &standardErrorMessage, string workingDirectory ) : int | ||
program | string | Programa a ser chamado pela linha de comando |
arguments | string | Conjunto de argumentos |
standardOutputMessage | string | Mensagem de saída |
standardErrorMessage | string | Mensagem de erro |
workingDirectory | string | Diretório de trabalho |
리턴 | int |
public static CommandLineVerboseExecute ( string program, string arguments, string workingDirectory ) : string | ||
program | string | |
arguments | string | |
workingDirectory | string | |
리턴 | string |
public static DirectoryCopy ( string srcDir, string trgDir ) : void | ||
srcDir | string | |
trgDir | string | |
리턴 | void |
public static DirectoryGetFilesRecursive ( string b ) : List |
||
b | string | Caminho do diretório desejado |
리턴 | List |
public static FileBaseName ( string FileName ) : string | ||
FileName | string | Nome do arquivo |
리턴 | string |
public static FileName ( string pathAndFileName ) : string | ||
pathAndFileName | string | Caminho do arquivo |
리턴 | string |
public static FilePath ( string pathAndFileName ) : string | ||
pathAndFileName | string | Caminho completo do arquivo |
리턴 | string |
public static MyApplicationIsAlreadyIsRunning ( string name ) : bool | ||
name | string | |
리턴 | bool |
public static ProcessAllInstancesFindAndKill ( string name ) : bool | ||
name | string | |
리턴 | bool |
public static ProcessAllInstancesFindAndKillBeginingWith ( string name ) : bool | ||
name | string | |
리턴 | bool |
public static ProcessFindBeginingWith ( string name ) : bool | ||
name | string | |
리턴 | bool |
public static RarFileDecompress ( string file, string rarExecutableDir ) : bool | ||
file | string | File to be decompressed |
rarExecutableDir | string | Directory where lies the rar.exe |
리턴 | bool |
public static TimestampToPath ( DateTime dt ) : string | ||
dt | DateTime | |
리턴 | string |