Package hudson.util.jna
Class DotNet
- java.lang.Object
-
- hudson.util.jna.DotNet
-
public class DotNet extends Object
.NET related code.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description DotNet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisInstalled(int major, int minor)Returns true if the .NET framework of a compatible version is installed.static booleanisInstalled(int major, int minor, String targetMachine, org.jinterop.dcom.common.IJIAuthInfo session)Returns true if the .NET framework of a compatible version is installed on a remote machine.
-
-
-
Method Detail
-
isInstalled
public static boolean isInstalled(int major, int minor)Returns true if the .NET framework of a compatible version is installed.
-
isInstalled
public static boolean isInstalled(int major, int minor, String targetMachine, org.jinterop.dcom.common.IJIAuthInfo session) throws org.jinterop.dcom.common.JIException, UnknownHostExceptionReturns true if the .NET framework of a compatible version is installed on a remote machine.- Throws:
org.jinterop.dcom.common.JIExceptionUnknownHostException
-
-