The Assimilation Project  based on Assimilation version 1.1.7.1474836767
netconfig.NetDisc Class Reference

This class implements network discovery for the Assimilation Project. More...

Data Structures

struct  IP_ADAPTER_UNICAST_ADDRESS
 
struct  SOCKADDR
 
struct  SOCKADDRIPV6
 
struct  SOCKET_ADDRESS
 

Public Types

enum  GAA_FLAGS {
  GAA_FLAGS.GAA_NONE = 0x0000, GAA_FLAGS.GAA_SKIP_UNICAST = 0x0001, GAA_FLAGS.GAA_SKIP_ANYCAST = 0x0002, GAA_FLAGS.GAA_SKIP_MULTICAST = 0x0004,
  GAA_FLAGS.GAA_SKIP_DNS_SERVER = 0x0008, GAA_FLAGS.GAA_INCLUDE_PREFIX = 0x0010, GAA_FLAGS.GAA_SKIP_FRIENDLY_NAME = 0x0020, GAA_FLAGS.GAA_INCLUDE_WINS_INFO = 0x0040,
  GAA_FLAGS.GAA_INCLUDE_GATEWAYS = 0x0080, GAA_FLAGS.GAA_INCLUDE_ALL_INTERFACES = 0x0100, GAA_FLAGS.GAA_INCLUDE_ALL_COMPARTMENTS = 0x0200, GAA_FLAGS.GAA_INCLUDE_TUNNEL_BINDINGORDER = 0x0400
}
 
enum  IP_PREFIX_ORIGIN {
  IP_PREFIX_ORIGIN.IpPrefixOriginOther = 0, IP_PREFIX_ORIGIN.IpPrefixOriginManual, IP_PREFIX_ORIGIN.IpPrefixOriginWellKnown, IP_PREFIX_ORIGIN.IpPrefixOriginDhcp,
  IP_PREFIX_ORIGIN.IpPrefixOriginRouterAdvertisement
}
 
enum  IP_SUFFIX_ORIGIN {
  IP_SUFFIX_ORIGIN.IpSuffixOriginOther = 0, IP_SUFFIX_ORIGIN.IpSuffixOriginManual, IP_SUFFIX_ORIGIN.IpSuffixOriginWellKnown, IP_SUFFIX_ORIGIN.IpSuffixOriginDhcp,
  IP_SUFFIX_ORIGIN.IpSuffixOriginLinkLayerAddress, IP_SUFFIX_ORIGIN.IpSuffixOriginRandom
}
 
enum  IP_DAD_STATE {
  IP_DAD_STATE.IpDadStateInvalid = 0, IP_DAD_STATE.IpDadStateTentative, IP_DAD_STATE.IpDadStateDuplicate, IP_DAD_STATE.IpDadStateDeprecated,
  IP_DAD_STATE.IpDadStatePreferred
}
 
enum  SCOPE_LEVEL {
  SCOPE_LEVEL.ScopeLevelInterface = 1, SCOPE_LEVEL.ScopeLevelLink = 2, SCOPE_LEVEL.ScopeLevelSubnet = 3, SCOPE_LEVEL.ScopeLevelAdmin = 4,
  SCOPE_LEVEL.ScopeLevelSite = 5, SCOPE_LEVEL.ScopeLevelOrganization = 8, SCOPE_LEVEL.ScopeLevelGlobal = 14
}
 

Static Public Member Functions

static void GetIPv4gateway (IP_ADAPTER_ADDRESSES A, IPAddress ipaddr, out int bc, out string ba)
 

Data Fields

const Int32 MAX_ADAPTER_NAME = 128
 
const Int32 MAX_ADAPTER_NAME_LENGTH = 256
 
const Int32 MAX_ADAPTER_DESCRIPTION_LENGTH = 128
 
const Int32 MAX_ADAPTER_ADDRESS_LENGTH = 8
 
const UInt32 ERROR_BUFFER_OVERFLOW = (UInt32)111
 
const Int32 ERROR_SUCCESS = 0
 

Detailed Description

This class implements network discovery for the Assimilation Project.

Definition at line 44 of file netconfig.cs.

Member Enumeration Documentation

Enumerator
GAA_NONE 
GAA_SKIP_UNICAST 
GAA_SKIP_ANYCAST 
GAA_SKIP_MULTICAST 
GAA_SKIP_DNS_SERVER 
GAA_INCLUDE_PREFIX 
GAA_SKIP_FRIENDLY_NAME 
GAA_INCLUDE_WINS_INFO 
GAA_INCLUDE_GATEWAYS 
GAA_INCLUDE_ALL_INTERFACES 
GAA_INCLUDE_ALL_COMPARTMENTS 
GAA_INCLUDE_TUNNEL_BINDINGORDER 

Definition at line 54 of file netconfig.cs.

Enumerator
IpDadStateInvalid 
IpDadStateTentative 
IpDadStateDuplicate 
IpDadStateDeprecated 
IpDadStatePreferred 

Definition at line 93 of file netconfig.cs.

Enumerator
IpPrefixOriginOther 
IpPrefixOriginManual 
IpPrefixOriginWellKnown 
IpPrefixOriginDhcp 
IpPrefixOriginRouterAdvertisement 

Definition at line 76 of file netconfig.cs.

Enumerator
IpSuffixOriginOther 
IpSuffixOriginManual 
IpSuffixOriginWellKnown 
IpSuffixOriginDhcp 
IpSuffixOriginLinkLayerAddress 
IpSuffixOriginRandom 

Definition at line 84 of file netconfig.cs.

Enumerator
ScopeLevelInterface 
ScopeLevelLink 
ScopeLevelSubnet 
ScopeLevelAdmin 
ScopeLevelSite 
ScopeLevelOrganization 
ScopeLevelGlobal 

Definition at line 101 of file netconfig.cs.

Member Function Documentation

static void netconfig.NetDisc.GetIPv4gateway ( IP_ADAPTER_ADDRESSES  A,
IPAddress  ipaddr,
out int  bc,
out string  ba 
)
inlinestatic

Field Documentation

const UInt32 netconfig.NetDisc.ERROR_BUFFER_OVERFLOW = (UInt32)111

Definition at line 50 of file netconfig.cs.

Referenced by netconfig.Adapter.GetAdaptersAddresses().

const Int32 netconfig.NetDisc.ERROR_SUCCESS = 0

Definition at line 51 of file netconfig.cs.

Referenced by netconfig.Adapter.GetAdaptersAddresses().

const Int32 netconfig.NetDisc.MAX_ADAPTER_ADDRESS_LENGTH = 8

Definition at line 49 of file netconfig.cs.

const Int32 netconfig.NetDisc.MAX_ADAPTER_DESCRIPTION_LENGTH = 128

Definition at line 48 of file netconfig.cs.

const Int32 netconfig.NetDisc.MAX_ADAPTER_NAME = 128

Definition at line 46 of file netconfig.cs.

const Int32 netconfig.NetDisc.MAX_ADAPTER_NAME_LENGTH = 256

Definition at line 47 of file netconfig.cs.


The documentation for this class was generated from the following file: