Archived from groups: microsoft.public.dotnet.languages.csharp,microsoft.public.windowsnt.protocol.ras (More info?)
Hello Group,
I am using the RASAPI to dial-to the internet using a GPRS modem using
C#.
Is it possible before dialling to retreive information about the COM
port that the modem is connected for the RAS entry in the phone book.
What I mean is I have two entires, Entry A and Entry B using devices
on COM 1 and COM 2 respectively.
Can I get information back from the RAS phone book entry about what
COM port my Entry A and Entry B are connected to? When I use the
Windows RAS Dialer I can see which modem the entry is going to use.
Archived from groups: microsoft.public.dotnet.languages.csharp,microsoft.public.windowsnt.protocol.ras (More info?)
Before dialing one can use RasSetEntryProperties to set the DeviceName &
Type. RasEntry->szDeviceName
Mapping between the device name and port name Should be known before.
After dialing u can verify which entry is using what port by using
RasGetEntryProperties and verifying the RasEntry -> szDeviceName. Here also
mapping between device name and port should be known before (Anyway this is
static once you configure the devices properly)
--
- Manjari
This posting is provided "AS IS" with no warranties, and confers no rights.
"Mark Smith" <shofu_au@yahoo.com.au> wrote in message
news:8bdc0085.0408062210.3e9167b3@posting.google.com...
> Hello Group,
>
> I am using the RASAPI to dial-to the internet using a GPRS modem using
> C#.
>
> Is it possible before dialling to retreive information about the COM
> port that the modem is connected for the RAS entry in the phone book.
>
> What I mean is I have two entires, Entry A and Entry B using devices
> on COM 1 and COM 2 respectively.
>
> Can I get information back from the RAS phone book entry about what
> COM port my Entry A and Entry B are connected to? When I use the
> Windows RAS Dialer I can see which modem the entry is going to use.
>
>
> Thanks
>
> Mark
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.