C# Класс EddiCompanionAppService.CompanionAppCredentials

Storage of credentials for a single Elite: Dangerous user to access the Companion App
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
Clear ( ) : void

Clear the information held by credentials.

FromFile ( string filename = null ) : CompanionAppCredentials

Obtain credentials from a file. If the file name is not supplied the the default path of Constants.Data_DIR\credentials.json is used

ToFile ( string filename = null ) : void

Obtain credentials to a file. If the filename is not supplied then the path used when reading in the credentials will be used, or the default path of Constants.Data_DIR\credentials.json will be used

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

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

Clear the information held by credentials.
public Clear ( ) : void
Результат void

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

Obtain credentials from a file. If the file name is not supplied the the default path of Constants.Data_DIR\credentials.json is used
public static FromFile ( string filename = null ) : CompanionAppCredentials
filename string
Результат CompanionAppCredentials

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

Obtain credentials to a file. If the filename is not supplied then the path used when reading in the credentials will be used, or the default path of Constants.Data_DIR\credentials.json will be used
public ToFile ( string filename = null ) : void
filename string
Результат void