C# 클래스 RIM.VSNDK_Package.GlobalFunctions

파일 보기 프로젝트 열기: blackberry/VSPlugin

공개 프로퍼티들

프로퍼티 타입 설명
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