Microsoft SDK for Java

getCanConnectToFileURLCodeBase

This method of the NetIOPermission Class returns the flag that controls whether classes that possess this permission can connect back to the local host if from a file:// URL codebase.

Syntax

public boolean getCanConnectToFileURLCodeBase();

Return Value

Returns true if the permission allows connections back to file:// URL codebase hosts; otherwise, returns false.

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