C# 클래스 EddiCompanionAppService.CompanionAppCredentials

Storage of credentials for a single Elite: Dangerous user to access the Companion App
파일 보기 프로젝트 열기: cmdrmcdonald/EliteDangerousDataProvider 1 사용 예제들

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