C# Класс RIM.VSNDK_Package.DebugToken.Model.DebugTokenData

Наследование: RIM.VSNDK_Package.Signing.Models.NotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
_initializedCorrectly bool
restart bool

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

Метод Описание
DebugTokenData ( ) : System

Constructor

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.

addDevice ( DebugTokenDialog parent ) : bool

Add current device to device list.

createDebugToken ( ) : bool

Create a new Debug Token for connected device

getDeviceInfo ( ) : bool

Get the device Info of the connected device

refreshDevice ( DebugTokenDialog parent ) : bool

Refresh current device to device list.

resetPassword ( ) : bool

Защищенные методы

Метод Описание
OnPropertyChanged ( string propName ) : void

Fire the PropertyChnaged event handler on change of property

Приватные методы

Метод Описание
getDebugTokenInfo ( ) : bool

Retrieve debug token details

isRegistered ( ) : bool

Get the list of registered devices and display

p_ErrorDataReceived ( object sender, System e ) : void

On Error received event handler

p_OutputDataReceived ( object sender, System e ) : void

On Data Received event handler

refreshScreen ( ) : void

Set all the screen info

removeDebugToken ( ) : bool

remove debug token from connected device

uploadDebugToken ( ) : bool

Upload Token to connected device

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

DebugTokenData() публичный Метод

Constructor
public DebugTokenData ( ) : System
Результат System

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 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 Encrypt ( string plainText ) : string
plainText string An unencrypted string that needs /// to be secured.
Результат string

OnPropertyChanged() защищенный Метод

Fire the PropertyChnaged event handler on change of property
protected OnPropertyChanged ( string propName ) : void
propName string
Результат void

addDevice() публичный Метод

Add current device to device list.
public addDevice ( DebugTokenDialog parent ) : bool
parent DebugTokenDialog
Результат bool

createDebugToken() публичный Метод

Create a new Debug Token for connected device
public createDebugToken ( ) : bool
Результат bool

getDeviceInfo() публичный Метод

Get the device Info of the connected device
public getDeviceInfo ( ) : bool
Результат bool

refreshDevice() публичный Метод

Refresh current device to device list.
public refreshDevice ( DebugTokenDialog parent ) : bool
parent DebugTokenDialog
Результат bool

resetPassword() публичный Метод

public resetPassword ( ) : bool
Результат bool

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

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

public static bool _initializedCorrectly
Результат bool

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

public static bool restart
Результат bool