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.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)
Syntax
'Declaration
Public ReadOnly Property ServicePack As String
public string ServicePack { get; }
public:
property String^ ServicePack {
String^ get ();
}
member ServicePack : string with get
function get ServicePack () : String
Property Value
Type: 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.