Search Results for

    Show / Hide Table of Contents

    Class CosmosUtility

    Inheritance
    Object
    CosmosUtility
    Namespace: Clavusaurus.Cosmos
    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
    Type Name Description
    CosmosConsole console
    IPEndPoint endPoint
    UserCredentials credentials
    Returns
    Type Description
    Task

    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
    Type Name Description
    CosmosConsole console
    String filepath

    GetFormatExample(CommandDefinition)

    Declaration
    public static string GetFormatExample(CommandDefinition cmdDef)
    Parameters
    Type Name Description
    CommandDefinition cmdDef
    Returns
    Type Description
    String

    GetFormatExample(CommandHint)

    Declaration
    public static string GetFormatExample(CommandHint cmdHint)
    Parameters
    Type Name Description
    CommandHint cmdHint
    Returns
    Type Description
    String

    GetRSAPublicInfo(RSACryptoServiceProvider)

    Declaration
    public static byte[] GetRSAPublicInfo(RSACryptoServiceProvider rsa)
    Parameters
    Type Name Description
    RSACryptoServiceProvider rsa
    Returns
    Type Description
    Byte[]

    ReadRSAPublicInfo(NetDataReader)

    Declaration
    public static RSAParameters ReadRSAPublicInfo(NetDataReader dataReader)
    Parameters
    Type Name Description
    NetDataReader dataReader
    Returns
    Type Description
    RSAParameters
    ☀
    ☾
    In This Article
    Back to top
    © Clavusaurus Game Software
    ☀
    ☾