SystemInformation.getNetwork

Overview | Methods | This Package | All Packages

SystemInformation.getNetwork

Determines whether this computer is on a network.

Syntax

public static final boolean getNetwork()

Return Value

Returns true if a network is present; otherwise, returns false.

Remarks

Use the getNetwork method to determine whether a network is available before performing network-oriented operations.