Beispiel #1
0
 /// <summary>
 /// Call to GetSLVersion() to get the Windows Software Licensing Service Version
 /// </summary>
 /// <returns>Version of Windows Software Licensing Service</returns>
 public static string GetSPPSVCVersion()
 {
     return(SLVersion.GetSLVersion("SELECT Version FROM SoftwareLicensingService"));
 }
Beispiel #2
0
 /// <summary>
 /// Call to GetSLVersion() to get the Office Software Licensing Service Version
 /// </summary>
 /// <returns>Version of Office Software Licensing Service</returns>
 public static string GetOSPPSVCVersion()
 {
     return(SLVersion.GetSLVersion("SELECT Version FROM OfficeSoftwareProtectionService"));
 }