C# Класс RIM.VSNDK_Package.GlobalFunctions

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
bbndkPathConst string

Открытые методы

Метод Описание
Decrypt ( string cipher ) : string

Decrypts a given string.

Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.

Encrypt ( string plainText ) : string

Encrypts a given password and returns the encrypted data as a base64 string.

This solution is not really secure as we are keeping strings in memory. If runtime protection is essential, SecureString should be used.

isOnline ( ) : bool

function to check if user is online. Needs to be online for UpdateManager to work.

Описание методов

Decrypt() публичный статический Метод

Decrypts a given string.
Keep in mind that the decrypted string remains in memory and makes your application vulnerable per se. If runtime protection is essential, SecureString should be used.
If /// is a null reference.
public static Decrypt ( string cipher ) : string
cipher string A base64 encoded string that was created /// through the or /// extension methods.
Результат string

Encrypt() публичный статический Метод

Encrypts a given password and returns the encrypted data as a base64 string.
This solution is not really secure as we are keeping strings in memory. If runtime protection is essential, SecureString should be used.
If /// is a null reference.
public static Encrypt ( string plainText ) : string
plainText string An unencrypted string that needs /// to be secured.
Результат string

isOnline() публичный статический Метод

function to check if user is online. Needs to be online for UpdateManager to work.
public static isOnline ( ) : bool
Результат bool

Описание свойств

bbndkPathConst публичное статическое свойство

public static string bbndkPathConst
Результат string