Package com.jgcomptech.tools
Class OSInfo.Windows.ServicePack
- java.lang.Object
-
- com.jgcomptech.tools.OSInfo.Windows.ServicePack
-
- Enclosing class:
- OSInfo.Windows
public static final class OSInfo.Windows.ServicePack extends java.lang.Object
Returns the service pack information of the operating system running on this Computer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
Number()
Returns the service pack information of the operating system running on this Computer.static java.lang.String
String()
Returns the service pack information of the operating system running on this Computer.
-
-
-
Method Detail
-
String
public static java.lang.String String() throws java.io.IOException, java.lang.InterruptedException
Returns the service pack information of the operating system running on this Computer.- Returns:
- A String containing the operating system service pack information
- Throws:
java.io.IOException
- if error occursjava.lang.InterruptedException
- if command is interrupted
-
Number
public static int Number()
Returns the service pack information of the operating system running on this Computer.- Returns:
- A int containing the operating system service pack number
-
-