P4API.ClientApi.Init C# (CSharp) Method

Init() public method

public Init ( Error e ) : void
e Error
return void
        public void Init(Error e)
        {
            p4apiPINVOKE.ClientApi_Init(swigCPtr, Error.getCPtr(e));
        }

Usage Example

Esempio n. 1
0
    public static void Main(string[] argv)
    {
        ClientApi client = new ClientApi();
        // ClientUser ui = new ClientUser();
        SampleUI ui = new SampleUI();
        Error error = new Error();

        client.Init(error);
        client.Run("info", ui);

        client.SetArgv(new string[] { "-u", "cmarshall" });
        client.Run("clients", ui);
        client.Final(error);
    }