Microsoft SDK for Java

checkLink

This method of the StandardSecurityManager Class determines whether the current execution context, based on the calling classes on the call stack, allows the loading of the specified native code library (DLL).

Syntax

public void checkLink(String lib);

Parameters

lib The DLL for which permission to load is checked.

Remarks

The check succeeds only if the caller is fully trusted system code. This method overrides the java.lang.SecurityManager.checkLink method.

Exceptions

SecurityException if the security check fails.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.