예제 #1
0
        /// <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;
        }
예제 #2
0
        /// <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;
        }