コード例 #1
0
        public byte[] Execute(out CommandError error)
        {
            CngKey dfKey;
            var    publicKey = SequrityUtils.DiffieHellmanGetPublicKey(out dfKey);
            var    userToken = ClientManager.CreateClient(dfKey);

            error = CommandError.None;
            return(Encoding.UTF8.GetBytes(userToken + TOKEN_SEPARATOR + publicKey));
        }