forked from SideStore/SideServer-Windows
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnisetteData.h
More file actions
executable file
·69 lines (55 loc) · 1.48 KB
/
AnisetteData.h
File metadata and controls
executable file
·69 lines (55 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
// AnisetteData.h
// AltSign-Windows
//
// Created by Riley Testut on 11/26/19.
// Copyright © 2019 Riley Testut. All rights reserved.
//
#pragma once
/* The classes below are exported */
#pragma GCC visibility push(default)
#include <WinSock2.h>
#include <optional>
#include <string>
#include <ctime>
#include <cpprest/json.h>
class AnisetteData
{
public:
AnisetteData();
~AnisetteData();
AnisetteData(std::string machineID,
std::string oneTimePassword,
std::string localUserID,
unsigned long long routingInfo,
std::string deviceUniqueIdentifier,
std::string deviceSerialNumber,
std::string deviceDescription,
struct timeval date,
std::string locale,
std::string timeZone);
std::string machineID() const;
std::string oneTimePassword() const;
std::string localUserID() const;
unsigned long long routingInfo() const;
std::string deviceUniqueIdentifier() const;
std::string deviceSerialNumber() const;
std::string deviceDescription() const;
TIMEVAL date() const;
std::string locale() const;
std::string timeZone() const;
web::json::value json() const;
friend std::ostream& operator<<(std::ostream& os, const AnisetteData& anisetteData);
private:
std::string _machineID;
std::string _oneTimePassword;
std::string _localUserID;
unsigned long long _routingInfo;
std::string _deviceUniqueIdentifier;
std::string _deviceSerialNumber;
std::string _deviceDescription;
TIMEVAL _date;
std::string _locale;
std::string _timeZone;
};
#pragma GCC visibility pop