C# Класс SteamDesktopAuth.FileHandler

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

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

Метод Описание
DecryptSGAFile ( SteamGuardAccount account ) : bool

Edits a SGA file to either encrypt or decrypt the file

DeleteSGAFile ( SteamGuardAccount account ) : bool

Deletes a SGA file of an account if it exists

GetAllAccounts ( ) : List

Returns all accounts available in a list

IsSGAFileEncrypted ( SteamGuardAccount account ) : bool

Checks if an SGA file is encrypted

SaveSGAFile ( SteamGuardAccount account ) : bool

Saves a SteamGuardAccount to file in formatted json

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

Метод Описание
GetAccountFile ( SteamGuardAccount account ) : FileInfo

Finds the account file that belongs to a file

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

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

Edits a SGA file to either encrypt or decrypt the file
public static DecryptSGAFile ( SteamGuardAccount account ) : bool
account SteamAuth.SteamGuardAccount Account to edit
Результат bool

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

Deletes a SGA file of an account if it exists
public static DeleteSGAFile ( SteamGuardAccount account ) : bool
account SteamAuth.SteamGuardAccount Account to delete files of
Результат bool

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

Returns all accounts available in a list
public static GetAllAccounts ( ) : List
Результат List

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

Checks if an SGA file is encrypted
public static IsSGAFileEncrypted ( SteamGuardAccount account ) : bool
account SteamAuth.SteamGuardAccount Account to check file of
Результат bool

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

Saves a SteamGuardAccount to file in formatted json
public static SaveSGAFile ( SteamGuardAccount account ) : bool
account SteamAuth.SteamGuardAccount Account to save
Результат bool