/// <summary> /// Creates a new instnace of AuthClient. /// </summary> /// <param name="socketClient">The socket client associated to the auth client.</param> public AuthClient(SocketClient socketClient) { crypto = new ProjectX_V3_Lib.Cryptography.AuthCrypto(); socketClient.Owner = this; socketClient.Crypto = crypto; this.socketClient = socketClient; }
/// <summary> /// Creates a new instnace of AuthClient. /// </summary> /// <param name="socketClient">The socket client associated to the auth client.</param> public AuthClient(SocketClient socketClient) { crypto = new ProjectX_V3_Lib.Cryptography.AuthCrypto(); socketClient.Owner = this; socketClient.Crypto = crypto; this.socketClient = socketClient; }