Ejemplo n.º 1
0
        internal static GeneralSetRequest CreateSetIDEntity(string sessionKey, uint uin, string deviceID, string OSType, string wxID)
        {
            BaseRequest @base = CreateBaseRequestEntity(deviceID, sessionKey, uin, OSType);

            GeneralSetRequest.Builder builder = new GeneralSetRequest.Builder();
            builder.SetBase(@base);
            builder.SetSetType(1);
            builder.SetSetValue(wxID);
            return(builder.Build());
        }
Ejemplo n.º 2
0
        internal static GeneralSetRequest CreateSetIDEntity(string sessionKey, uint uin, string deviceID, string OSType, string wxID)
        {
            BaseRequest br = CreateBaseRequestEntity(deviceID, sessionKey, uin, OSType);

            GeneralSetRequest.Builder lrb = new GeneralSetRequest.Builder();
            lrb.SetBase(br);
            lrb.SetSetType(1);
            lrb.SetSetValue(wxID);

            return(lrb.Build());
        }