Свойство | Type | Description | |
---|---|---|---|
HostName | string | ||
RegionNames | string[] | ||
UserNames | string[] |
Méthode | Description | |
---|---|---|
Decrypt ( string cipherText, string passPhrase, string saltValue ) : string |
Decrypts specified ciphertext using Rijndael symmetric key algorithm. Most of the logic in this function is similar to the Encrypt logic. In order for decryption to work, all parameters of this function - except cipherText value - must match the corresponding parameters of the Encrypt function which was called to generate the ciphertext. |
|
DownloadFile ( string downloadLink, string filename ) : void |
Download the file from downloadLink and save it to WhiteCore + Version +
|
|
DownloadFileAsync ( string downloadLink, string filename, DownloadProgressChangedEventHandler onProgress, AsyncCompletedEventHandler onComplete ) : void |
Downloads a file async
|
|
Encrypt ( string plainText, string passPhrase, string saltValue ) : string |
Encrypts specified plaintext using Rijndael symmetric key algorithm and returns a base64-encoded result.
|
|
GetAddress ( ) : string |
Get the URL to our sim
|
|
GetExternalIp ( ) : string |
Get OUR external IP
|
|
GetLocalIp ( ) : string |
Get local IP address of system (Assumes only one address present... or gives the first valid address if mmultiple)
|
|
GetMaxMaturity ( int Maturity ) : string | ||
GetNextWeekday ( System.DateTime start, DayOfWeek day ) : System.DateTime | ||
GetRegionMaturity ( int Maturity ) : string | ||
GetServerReleaseNotesURL ( ) : string |
Get the URL to the release notes for the current version of WhiteCore
|
|
GetShortRegionMaturity ( int Maturity ) : string | ||
IsSystemUser ( OpenMetaverse userID ) : bool |
Determines whether the specified userID is a system user.
|
|
IsValidEmail ( string address ) : bool |
Determines whether a string is a valid email address.
|
|
ReadExternalWebsite ( string URL ) : string |
Read a website into a string
|
|
RoundDown ( System.DateTime dt, System.TimeSpan d ) : System.DateTime | ||
RoundToNearest ( System.DateTime dt, System.TimeSpan d ) : System.DateTime | ||
RoundUp ( System.DateTime dt, System.TimeSpan d ) : System.DateTime |
Rounds up a DateTime to the nearest
|
|
SetEncryptIterations ( int iterations ) : void |
This is for encryption, it sets the number of times to iterate through the encryption
|
|
SetEncryptorType ( string type ) : void | ||
SetKeySize ( int size ) : void |
This is for encryption, it sets the size of the key
|
|
TransactionTypeInfo ( TransactionType transType ) : string | ||
WhiteCoreServerVersion ( ) : string |
What is our version?
|
Méthode | Description | |
---|---|---|
UnGzip ( byte data, int start ) : byte[] |
public static Decrypt ( string cipherText, string passPhrase, string saltValue ) : string | ||
cipherText | string | /// Base64-formatted ciphertext value. /// |
passPhrase | string | /// Passphrase from which a pseudo-random password will be derived. The /// derived password will be used to generate the encryption key. /// Passphrase can be any string. In this example we assume that this /// passphrase is an ASCII string. /// |
saltValue | string | /// Salt value used along with passphrase to generate password. Salt can /// be any string. In this example we assume that salt is an ASCII string. /// |
Résultat | string |
public static DownloadFile ( string downloadLink, string filename ) : void | ||
downloadLink | string | Link to the download |
filename | string | Name to put the download in |
Résultat | void |
public static DownloadFileAsync ( string downloadLink, string filename, DownloadProgressChangedEventHandler onProgress, AsyncCompletedEventHandler onComplete ) : void | ||
downloadLink | string | |
filename | string | |
onProgress | DownloadProgressChangedEventHandler | can be null |
onComplete | AsyncCompletedEventHandler | can be null |
Résultat | void |
public static Encrypt ( string plainText, string passPhrase, string saltValue ) : string | ||
plainText | string | /// Plaintext value to be encrypted. /// |
passPhrase | string | /// Passphrase from which a pseudo-random password will be derived. The /// derived password will be used to generate the encryption key. /// Passphrase can be any string. In this example we assume that this /// passphrase is an ASCII string. /// |
saltValue | string | /// Salt value used along with passphrase to generate password. Salt can /// be any string. In this example we assume that salt is an ASCII string. /// |
Résultat | string |
public static GetMaxMaturity ( int Maturity ) : string | ||
Maturity | int | |
Résultat | string |
public static GetNextWeekday ( System.DateTime start, DayOfWeek day ) : System.DateTime | ||
start | System.DateTime | |
day | DayOfWeek | |
Résultat | System.DateTime |
public static GetRegionMaturity ( int Maturity ) : string | ||
Maturity | int | |
Résultat | string |
public static GetServerReleaseNotesURL ( ) : string | ||
Résultat | string |
public static GetShortRegionMaturity ( int Maturity ) : string | ||
Maturity | int | |
Résultat | string |
public static IsSystemUser ( OpenMetaverse userID ) : bool | ||
userID | OpenMetaverse | User I. |
Résultat | bool |
public static IsValidEmail ( string address ) : bool | ||
address | string | Address. |
Résultat | bool |
public static ReadExternalWebsite ( string URL ) : string | ||
URL | string | URL to change into a string |
Résultat | string |
public static RoundDown ( System.DateTime dt, System.TimeSpan d ) : System.DateTime | ||
dt | System.DateTime | |
d | System.TimeSpan | |
Résultat | System.DateTime |
public static RoundToNearest ( System.DateTime dt, System.TimeSpan d ) : System.DateTime | ||
dt | System.DateTime | |
d | System.TimeSpan | |
Résultat | System.DateTime |
public static RoundUp ( System.DateTime dt, System.TimeSpan d ) : System.DateTime | ||
dt | System.DateTime | DateTime |
d | System.TimeSpan | Delta time |
Résultat | System.DateTime |
public static SetEncryptIterations ( int iterations ) : void | ||
iterations | int | |
Résultat | void |
public static SetEncryptorType ( string type ) : void | ||
type | string | |
Résultat | void |
public static SetKeySize ( int size ) : void | ||
size | int | |
Résultat | void |
public static TransactionTypeInfo ( TransactionType transType ) : string | ||
transType | TransactionType | |
Résultat | string |
public static WhiteCoreServerVersion ( ) : string | ||
Résultat | string |