![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Declares client identity persistence. More...
Go to the source code of this file.
Classes | |
| struct | startup::LoadClientIdentityResult |
| Result of loading persisted client pairing identity material. More... | |
| struct | startup::SaveClientIdentityResult |
| Result of saving client pairing identity material. More... | |
Functions | |
| std::string | startup::default_client_identity_directory () |
| Return the default directory used to store pairing identity files. | |
| bool | startup::delete_client_identity (std::string *errorMessage=nullptr, const std::string &directoryPath=default_client_identity_directory()) |
| Delete persisted client identity material from disk. | |
| LoadClientIdentityResult | startup::load_client_identity (const std::string &directoryPath=default_client_identity_directory()) |
| Load persisted client pairing identity material from disk. | |
| SaveClientIdentityResult | startup::save_client_identity (const network::PairingIdentity &identity, const std::string &directoryPath=default_client_identity_directory()) |
| Save client pairing identity material to disk. | |
Declares client identity persistence.
| std::string startup::default_client_identity_directory | ( | ) |
Return the default directory used to store pairing identity files.
| bool startup::delete_client_identity | ( | std::string * | errorMessage = nullptr, |
| const std::string & | directoryPath = default_client_identity_directory() ) |
Delete persisted client identity material from disk.
| errorMessage | Optional output for deletion failures. |
| directoryPath | Directory containing the identity files. |
| LoadClientIdentityResult startup::load_client_identity | ( | const std::string & | directoryPath = default_client_identity_directory() | ) |
Load persisted client pairing identity material from disk.
| directoryPath | Directory containing the identity files. |
| SaveClientIdentityResult startup::save_client_identity | ( | const network::PairingIdentity & | identity, |
| const std::string & | directoryPath = default_client_identity_directory() ) |
Save client pairing identity material to disk.
| identity | Client identity to persist. |
| directoryPath | Directory where the identity files should be written. |