Internet Direct (Indy)
Home
PreviousUpNext
TIdNetworkCalculator.NetworkClass Property

Specifies the network class for the current network address.

Pascal
property NetworkClass: TNetworkClass;

NetworkClass is a read-only TNetworkClass property that identifies the network class for the settings in NetworkAddress and NetworkMask

NetworkClass is automatically updated in the OnNetAddressChange event handler when the value of NetworkAddress has been altered. 

Values for NetworkClass correspond to the enumerated values in TNetworkClass, and include the following: 

 

Value 
Network Address Class 
ID_NET_CLASS_A 
Class A 
ID_NET_CLASS_B 
Class B 
ID_NET_CLASS_C 
Class C 
ID_NET_CLASS_D 
Class D 
ID_NET_CLASS_E 
Class E 

TNetworkClass OnNetAddressChange NetworkAddress

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.