Click or drag to resize

HostUtilsCheckForRdk Method

Determines if the RDK is loaded.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public static bool CheckForRdk(
	bool throwOnFalse,
	bool usePreviousResult


Type: SystemBoolean
if the RDK is not loaded, then throws a RdkNotLoadedException.
Type: SystemBoolean
if true, then the last result can be used instaed of performing a full check.

Return Value

Type: Boolean
true if the RDK is loaded; false if the RDK is not loaded. Note that the RdkNotLoadedException will hinder the retrieval of any return value.
See Also