示例#1
0
        public bool End()
        {
            CswWebSvcResourceInitializerNbt Resource = new CswWebSvcResourceInitializerNbt(_Context, null);

            Resource.initResources();
            Resource.deauthenticate();
            Resource.deInitResources();
            return(true);
        }
示例#2
0
        public CswNbtWebServiceSession.CswNbtAuthReturn End(bool Deauthenticate)
        {
            CswWebSvcResourceInitializerNbt Resource = new CswWebSvcResourceInitializerNbt(_Context, null);

            Resource.initResources();
            Resource.deauthenticate();
            Resource.deInitResources();

            CswNbtWebServiceSession.CswNbtAuthReturn Ret = new CswNbtWebServiceSession.CswNbtAuthReturn();
            Ret.Authentication.AuthenticationStatus = CswEnumAuthenticationStatus.Deauthenticated;
            ((ICswWebSvcRetObj)Ret).finalize(Resource.CswNbtResources, _Context, Ret.Authentication.AuthenticationStatus);
            return(Ret);
        }