SystemInformationEvent.ServicePack Property
Gets the name of the latest operating system service pack that is installed on the system.
Namespace: Microsoft.VisualStudio.IntelliTrace
Assembly: Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)
Syntax
'Declaração
Public ReadOnly Property ServicePack As String
Get
public string ServicePack { get; }
public:
property String^ ServicePack {
String^ get ();
}
member ServicePack : string
function get ServicePack () : String
Property Value
Type: System.String
Remarks
If no service pack has been installed, the string is empty. This value is retrieved from GetVersionEx.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.