src/vs/platform/userDataSync/common/userDataSyncResourceProvider.ts/UserDataSyncResourceProviderService/getMachineId
class UserDataSyncResourceProviderService:	async getMachineId({ uri }: ISyncResourceHandle): Promise<string | undefined> {
		const resolved = this.resolveUri(uri);
		if (!resolved) {
			return undefined;
		}
		if (resolved.remote) {
			if (resolved.ref) {
				const { content } = await this.getUserData(resolved.syncResource, resolved.ref, resolved.collection);
				if (content) {
					const syncData = this.parseSyncData(content, resolved.syncResource);
					return syncData?.machineId;
				}
			}
			return undefined;
		}
		return getServiceMachineId(this.environmentService, this.fileService, this.storageService);
	}