async public static Task <byte[]> GetInitInfo() { var url0 = "GetInitInfo?" + UserOptions.BusinessWebString(); var rez = await WebService.Instance.GetGzipBytes(url0); if (!rez.Success) { return(null); } return(rez.Bytes); }
async public static Task <GetCheckApkReturn> GetCheckApkVersion(int apkversion) { var url0 = "OnePosCheckApkVersion?apkversion=" + apkversion + "&" + UserOptions.BusinessWebString(); var rez = await WebService.Instance.Get(url0); if (!rez.Success) { return(null); } var result = DeserializeObjectFromStream <GetCheckApkReturn>(rez.Value); return(result); }