Esempio n. 1
0
        internal static LogOutWebWxRequest CreateLogoutWebEntity(string sessionKey, uint uin, string deviceID, string OSType)
        {
            BaseRequest @base = CreateBaseRequestEntity(deviceID, sessionKey, uin, OSType);

            LogOutWebWxRequest.Builder builder = new LogOutWebWxRequest.Builder();
            builder.SetBase(@base);
            builder.SetOpCode(1u);
            return(builder.Build());
        }
Esempio n. 2
0
        internal static LogOutWebWxRequest CreateLogoutWebEntity(string sessionKey, uint uin, string deviceID, string OSType)
        {
            BaseRequest br = CreateBaseRequestEntity(deviceID, sessionKey, uin, OSType);

            LogOutWebWxRequest.Builder logout = new LogOutWebWxRequest.Builder();
            logout.SetBase(br);
            logout.SetOpCode(1);

            return(logout.Build());
        }