The information in this article applies to:
SUMMARYThe IP address assigned to a RAS client is obtained by the client program using the RasGetProjectionInfo API. You call this API after a RAS connection has been established. MORE INFORMATIONIf your program is using the RasDial API to establish a RAS connection, the following code demonstrates printing out the IP address assigned to your client by the RAS server:
If your program did not establish the RAS connection, you need to call the
RasEnumConnections API to obtain a list of RAS connections already
established on your client machine. From this list of existing RAS
connections, you can obtain a RAS connection handle that you can then pass
into RasGetProjectionInfo (as the first parameter).
Additional query words:
Keywords : kbnetwork kbAPI kbIP kbNTOS351 kbNTOS400 kbWinOS2000 kbRAS kbSDKPlatform kbGrpNet |
Last Reviewed: January 31, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |