Метод | Описание | |
---|---|---|
CleanHomeDirectory ( bool server = false ) : void | ||
ClearAttributes ( string currentDir ) : void | ||
CopyDirectory ( string source, string target ) : void | ||
CreateDirectory ( string Name ) : void | ||
CreateFile ( string Name ) : void | ||
CreatePidFile ( string Name ) : void | ||
DownloadFile ( string url, string filename ) : void | ||
DownloadString ( |
||
DownloadString ( |
||
DownloadString ( |
||
DownloadString ( |
||
DownloadString ( |
||
DownloadString ( |
||
DownloadString ( |
||
DownloadString ( string url, |
||
DownloadString ( string url, int maxlength ) : string | ||
DownloadString ( string url, int timeout, |
||
DownloadString ( string url, int timeout, string Contains, |
||
DownloadString ( string url, int timeout, string Contains, int maxlength ) : string | ||
DownloadString ( string url, string Contains, |
||
DownloadString ( string url, string Contains, int maxlength ) : string | ||
GetCpuId ( ) : string |
Gets the cpu brand string.
|
|
GetDateTimeFromUnixTime ( long unixTime ) : System.DateTime |
Gets the date time from unix time.
|
|
GetEpochTime ( ) : long |
Gets the time since the Unix epoch.
|
|
GetEpochTimeFromDT ( ) : long |
Gets the time between the Unix epich and a specific
|
|
GetEpochTimeFromDT ( System.DateTime time ) : long |
Gets the time between the Unix epich and a specific
|
|
GetFunctionUpdate ( ) : string | ||
GetRandomString ( ) : string | ||
GetSpecialDirectory ( string data ) : string | ||
GetSystemTime ( ) : long |
Gets the system uptime.
|
|
GetSystemTimeLong ( ) : long |
Gets the system uptime. Even though this returns a long, the original value is a 32-bit integer, so it will wrap back to 0 after approximately 49 and half days of system uptime. |
|
GetUTCTimeMillis ( long millis ) : System.DateTime |
Gets the UTC time from millis.
|
|
GetUTCTimeSeconds ( long seconds ) : System.DateTime |
Gets the UTC time from seconds.
|
|
GetUnixTimeStart ( ) : System.DateTime | ||
GetUrl ( string url ) : string | ||
GetUrl ( string url, string args ) : string | ||
GetUrl ( string url, string args, string noencode ) : string | ||
GetUrlEncoding ( string url, string encoding ) : string | ||
GetUrlEncoding ( string url, string args, string encoding ) : string | ||
GetUrlEncoding ( string url, string args, string noencode, string encoding ) : string | ||
GetUrls ( string text ) : List |
Gets the URLs in the specified text.
|
|
GetUserName ( ) : string | ||
GetVersion ( ) : string | ||
IsDay ( int Year, int Month, int Day ) : bool | ||
IsPrime ( long x ) : bool | ||
IsSpecialDirectory ( string dir ) : bool | ||
IsValueBiggerDateTimeNow ( int Year, int Month, int Day, int Hour, int Minute ) : bool | ||
MD5File ( string fileName ) : string | ||
Md5 ( string value ) : string | ||
MoveDirectory ( string source, string target ) : void | ||
NameDay ( string Language ) : string | ||
RemovePidFile ( ) : void | ||
Sha1 ( string value ) : string | ||
SqlEscape ( string text ) : string | ||
ToMilliSecondsInt ( int ticks ) : int |
Converts ticks to miliseconds.
|
Метод | Описание | |
---|---|---|
Utilities ( ) : System |
public CleanHomeDirectory ( bool server = false ) : void | ||
server | bool | |
Результат | void |
public ClearAttributes ( string currentDir ) : void | ||
currentDir | string | |
Результат | void |
public CopyDirectory ( string source, string target ) : void | ||
source | string | |
target | string | |
Результат | void |
public CreateDirectory ( string Name ) : void | ||
Name | string | |
Результат | void |
public CreatePidFile ( string Name ) : void | ||
Name | string | |
Результат | void |
public DownloadFile ( string url, string filename ) : void | ||
url | string | |
filename | string | |
Результат | void |
public DownloadString ( |
||
url | ||
regex | ||
maxlength | int | |
Результат | string |
public DownloadString ( |
||
url | ||
maxlength | int | |
Результат | string |
public DownloadString ( |
||
url | ||
timeout | int | |
regex | ||
maxlength | int | |
Результат | string |
public DownloadString ( |
||
url | ||
timeout | int | |
Contains | string | |
credential | ||
maxlength | int | |
Результат | string |
public DownloadString ( |
||
url | ||
timeout | int | |
Contains | string | |
maxlength | int | |
Результат | string |
public DownloadString ( |
||
url | ||
Contains | string | |
credential | ||
maxlength | int | |
Результат | string |
public DownloadString ( |
||
url | ||
Contains | string | |
maxlength | int | |
Результат | string |
public DownloadString ( string url, |
||
url | string | |
regex | ||
maxlength | int | |
Результат | string |
public DownloadString ( string url, int maxlength ) : string | ||
url | string | |
maxlength | int | |
Результат | string |
public DownloadString ( string url, int timeout, |
||
url | string | |
timeout | int | |
regex | ||
maxlength | int | |
Результат | string |
public DownloadString ( string url, int timeout, string Contains, |
||
url | string | |
timeout | int | |
Contains | string | |
credential | ||
maxlength | int | |
Результат | string |
public DownloadString ( string url, int timeout, string Contains, int maxlength ) : string | ||
url | string | |
timeout | int | |
Contains | string | |
maxlength | int | |
Результат | string |
public DownloadString ( string url, string Contains, |
||
url | string | |
Contains | string | |
credential | ||
maxlength | int | |
Результат | string |
public DownloadString ( string url, string Contains, int maxlength ) : string | ||
url | string | |
Contains | string | |
maxlength | int | |
Результат | string |
public GetDateTimeFromUnixTime ( long unixTime ) : System.DateTime | ||
unixTime | long | The unix time. |
Результат | System.DateTime |
public GetEpochTimeFromDT ( System.DateTime time ) : long | ||
time | System.DateTime | the end time |
Результат | long |
public GetSpecialDirectory ( string data ) : string | ||
data | string | |
Результат | string |
public GetUTCTimeMillis ( long millis ) : System.DateTime | ||
millis | long | The millis. |
Результат | System.DateTime |
public GetUTCTimeSeconds ( long seconds ) : System.DateTime | ||
seconds | long | The seconds. |
Результат | System.DateTime |
public GetUnixTimeStart ( ) : System.DateTime | ||
Результат | System.DateTime |
public GetUrl ( string url, string args ) : string | ||
url | string | |
args | string | |
Результат | string |
public GetUrl ( string url, string args, string noencode ) : string | ||
url | string | |
args | string | |
noencode | string | |
Результат | string |
public GetUrlEncoding ( string url, string encoding ) : string | ||
url | string | |
encoding | string | |
Результат | string |
public GetUrlEncoding ( string url, string args, string encoding ) : string | ||
url | string | |
args | string | |
encoding | string | |
Результат | string |
public GetUrlEncoding ( string url, string args, string noencode, string encoding ) : string | ||
url | string | |
args | string | |
noencode | string | |
encoding | string | |
Результат | string |
public GetUrls ( string text ) : List |
||
text | string | /// The text to search in. /// |
Результат | List |
public IsDay ( int Year, int Month, int Day ) : bool | ||
Year | int | |
Month | int | |
Day | int | |
Результат | bool |
public IsSpecialDirectory ( string dir ) : bool | ||
dir | string | |
Результат | bool |
public IsValueBiggerDateTimeNow ( int Year, int Month, int Day, int Hour, int Minute ) : bool | ||
Year | int | |
Month | int | |
Day | int | |
Hour | int | |
Minute | int | |
Результат | bool |
public MD5File ( string fileName ) : string | ||
fileName | string | |
Результат | string |
public MoveDirectory ( string source, string target ) : void | ||
source | string | |
target | string | |
Результат | void |
public NameDay ( string Language ) : string | ||
Language | string | |
Результат | string |
public ToMilliSecondsInt ( int ticks ) : int | ||
ticks | int | |
Результат | int |