xtool.git
Publicgit clone https://git.maproj.org/xtool.gitxtool.git / Sources / XKit / GrandSlam / Anisette / DeviceInfo.swift
DeviceInfo.swift21 lines · 551 BRaw
| 1 | import Foundation |
| 2 | |
| 3 | public struct DeviceInfo: Codable, Sendable { |
| 4 | public static let xcodeVersionKey = "X-Xcode-Version" |
| 5 | public static let xcodeVersion = "26.5 (17F42)" |
| 6 | |
| 7 | public static let deviceIDKey = "X-Mme-Device-Id" |
| 8 | public let deviceID: String |
| 9 | |
| 10 | public static let clientInfoKey = "X-MMe-Client-Info" |
| 11 | public let clientInfo: String |
| 12 | |
| 13 | public let akdUserAgent: String |
| 14 | |
| 15 | public var dictionary: [String: String] { |
| 16 | [ |
| 17 | Self.clientInfoKey: clientInfo, |
| 18 | Self.deviceIDKey: deviceID, |
| 19 | ] |
| 20 | } |
| 21 | } |