메소드 | 설명 | |
---|---|---|
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 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 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 IsValueBiggerDateTimeNow ( int Year, int Month, int Day, int Hour, int Minute ) : bool | ||
Year | int | |
Month | int | |
Day | int | |
Hour | int | |
Minute | int | |
리턴 | bool |
public MoveDirectory ( string source, string target ) : void | ||
source | string | |
target | string | |
리턴 | void |