How obtain current Dns Ip?

  • Thread starter Thread starter Waldemar Grzywiñski
  • Start date Start date
W

Waldemar Grzywiñski

Anybody konowns how obtain current Dns IP? When I invoke
GetNetworkParams/FIXED_INFO api - I can't any data.
 
Let me understand what you're asking. You want to know the IP address of
the DNS server(s) being used by a network connection on a Windows CE-based
device? It looks to me like what you want is GetAdaptersAddresses(). Since
you're asking in a .NET CF group, does that mean that you need this in
managed code? I can't think of anywhere that you could find that
pre-wrapped for you...

Paul T.
 
I'm asking first of all that it is possible to get that information
(Dns.Resolve(...) knowns IP Dns ). If I find suggestion of manage code
wrapper 'GetAdaptersAddresses/IP_ADAPTER_ADDRESSES' would be better ...

U¿ytkownik "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no
spam DOT com> napisa³ w wiadomo¶ci
 
I'm still not sure that I understand what it is that you want to know.
Write a C/C++ application to use GetAdaptersAddresses() and see if that
returns the information you want. Someone can help you wrap it, if so...

Paul T.

Waldemar Grzywiñski said:
I'm asking first of all that it is possible to get that information
(Dns.Resolve(...) knowns IP Dns ). If I find suggestion of manage code
wrapper 'GetAdaptersAddresses/IP_ADAPTER_ADDRESSES' would be better ...

U¿ytkownik "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument
no spam DOT com> napisa³ w wiadomo¶ci
Let me understand what you're asking. You want to know the IP address of
the DNS server(s) being used by a network connection on a Windows
CE-based device? It looks to me like what you want is
GetAdaptersAddresses(). Since you're asking in a .NET CF group, does that
mean that you need this in managed code? I can't think of anywhere that
you could find that pre-wrapped for you...

Paul T.
 
Ok I try write native C++ assembly

U¿ytkownik "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no
spam DOT com> napisa³ w wiadomo¶ci
I'm still not sure that I understand what it is that you want to know.
Write a C/C++ application to use GetAdaptersAddresses() and see if that
returns the information you want. Someone can help you wrap it, if so...

Paul T.

Waldemar Grzywiñski said:
I'm asking first of all that it is possible to get that information
(Dns.Resolve(...) knowns IP Dns ). If I find suggestion of manage code
wrapper 'GetAdaptersAddresses/IP_ADAPTER_ADDRESSES' would be better ...

U¿ytkownik "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument
no spam DOT com> napisa³ w wiadomo¶ci
Let me understand what you're asking. You want to know the IP address
of the DNS server(s) being used by a network connection on a Windows
CE-based device? It looks to me like what you want is
GetAdaptersAddresses(). Since you're asking in a .NET CF group, does
that mean that you need this in managed code? I can't think of anywhere
that you could find that pre-wrapped for you...

Paul T.

Anybody konowns how obtain current Dns IP? When I invoke
GetNetworkParams/FIXED_INFO api - I can't any data.
 
Back
Top