Topic Path: Symbol Reference > Classes > TIdNetworkCalculator Class > TIdNetworkCalculator Properties > NetworkClass Property
ContentsIndexHome
PreviousUpNext
TIdNetworkCalculator.NetworkClass Property

Specifies the network class for the current network address.

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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.