Class CosmosUtility
Inheritance
CosmosUtility
Assembly: cs.temp.dll.dll
Syntax
public static class CosmosUtility
Methods
ConnectClientToServerRoutine(CosmosConsole, IPEndPoint, UserCredentials)
Declaration
public static async Task ConnectClientToServerRoutine(CosmosConsole console, IPEndPoint endPoint, UserCredentials credentials)
Parameters
Returns
ExecuteCommandsFile(CosmosConsole, String)
Execute all the commands listed in the specified file. The file should follow CFG file format.
Commands should each be on their own line or delimited with the ';' character. Lines or part of lines commented after '//' are ignored.
Declaration
public static void ExecuteCommandsFile(CosmosConsole console, string filepath)
Parameters
Declaration
public static string GetFormatExample(CommandDefinition cmdDef)
Parameters
Returns
Declaration
public static string GetFormatExample(CommandHint cmdHint)
Parameters
Returns
GetRSAPublicInfo(RSACryptoServiceProvider)
Declaration
public static byte[] GetRSAPublicInfo(RSACryptoServiceProvider rsa)
Parameters
Type |
Name |
Description |
RSACryptoServiceProvider |
rsa |
|
Returns
ReadRSAPublicInfo(NetDataReader)
Declaration
public static RSAParameters ReadRSAPublicInfo(NetDataReader dataReader)
Parameters
Type |
Name |
Description |
NetDataReader |
dataReader |
|
Returns
Type |
Description |
RSAParameters |
|