This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Connect
- :
- FlexNet Connect Forum
- :
- What is better, IsConnected(), or IsConnectedEx()?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 24, 2005
12:22 PM
What is better, IsConnected(), or IsConnectedEx()?
In the documentation, I noticed it uses both IsConnect() and IsConnectEx(). And they both seem to work the same. And the way they are used in the documentation makes it appear that there really isn't a big difference between the two.
However, the description of each method is different:
However, the description of each method is different:
IsConnect: Is used by InstallShield-hosted customers to determine
whether an Internet connection has been established on the end user's
computer and whether the Update Service Notification Server is available.
If you are hosting the Notification Server (on-site deployment), use the
IsConnectedEx method instead of the IsConnected method.
IsConnectEx: Is used by self-hosted customers to determineSo, it sounds like I should be using IsConnect. But, the code in the documentation didn't act like there was an important difference, and it used both interchangibly. So, is that the case, can I use both without any worries? Or should I definitely use only one of these methods, and if so, which one?
whether an Internet connection has been established on the end user's
computer and whether the Update Service Notification Server is available.
If InstallShield is hosting the Notification Server (InstallShield-hosted),
use the IsConnected method instead of the IsConnectedEx method.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 25, 2005
10:36 AM
You can use either interchangebly. However since you are hosted with InstallShield/Macrovision, IsConnected is the reccomended API.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 25, 2005
12:46 PM
Thanks for the response. I have changed all my IsConnectEx() to IsConnect(), and it's working well.