15 lines
909 B
C#
15 lines
909 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DTS.Common.Licensing.SystemInformation
|
|
{
|
|
public static class SystemInformationXSD
|
|
{
|
|
private static readonly string _xsd = @"<xs:schema attributeFormDefault='unqualified' elementFormDefault='qualified' xmlns:xs='http://www.w3.org/2001/XMLSchema'><xs:element name ='SysInfo'><xs:complexType><xs:sequence><xs:element type ='xs:string' name='MainBoardSerialNumber'/><xs:element type = 'xs:string' name='ProcessorID'/><xs:element type = 'xs:string' name='SystemID'/><xs:element type ='xs:string' name='MachineName'/></xs:sequence><xs:attribute type ='xs:byte' name='Version'/><xs:attribute type ='xs:string' name='SystemInformationGuid'/></xs:complexType></xs:element></xs:schema>";
|
|
public static string XSD { get; private set; } = _xsd;
|
|
}
|
|
}
|