示例#1
0
        public override void Start()
        {
            long num;

            Sspi.AcquireCredentialsHandle(CredentialUse.SECPKG_CRED_INBOUND, new SchannelCred(this.certificate, SchProtocols.TlsServer), out this.credential, out num);
            this.GetMaxTokenSize();
            base.Start();
        }
示例#2
0
        public override void Start()
        {
            long expiry;

            Sspi.AcquireCredentialsHandle(
                CredentialUse.SECPKG_CRED_INBOUND,
                new SchannelCred(certificate, SchProtocols.TlsServer),
                out credential,
                out expiry);

            GetMaxTokenSize();

            base.Start();
        }