function returns what kind of internet connectivity is available in vb.net

Author Message
xavior78

  • Total Posts : 9
  • Scores: 0
  • Reward points : 0
  • Joined: 11/11/2005
  • Status: offline
function returns what kind of internet connectivity is available in vb.net Friday, January 27, 2006 7:19 AM (permalink)
0
Good afternoon,
 
I am looking for a function in vb.net which will check for the interntet connectivity and if the internet connectivity is there function should return what kind of network connectivity is availavle.
 
Any suggestions?
 
Thanks
 

 
#1
    ebgreen

    • Total Posts : 8227
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    RE: function returns what kind of internet connectivity is available in vb.net Friday, January 27, 2006 7:24 AM (permalink)
    0
    My first suggestion would be to post on a VB.Net forum. THis is a VBScript forum.
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2
      ebgreen

      • Total Posts : 8227
      • Scores: 98
      • Reward points : 0
      • Joined: 7/12/2005
      • Status: offline
      RE: function returns what kind of internet connectivity is available in vb.net Friday, January 27, 2006 7:28 AM (permalink)
      0
      Next I would ask what you mean by "return what kind of network connectivity is availavle"?
      "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
      Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
      http://www.visualbasicscript.com/m_47117/tm.htm
       
      #3
        xavior78

        • Total Posts : 9
        • Scores: 0
        • Reward points : 0
        • Joined: 11/11/2005
        • Status: offline
        RE: function returns what kind of internet connectivity is available in vb.net Friday, January 27, 2006 7:31 AM (permalink)
        0
        What i ment was return either it is let say:
         
        modem(dial in), lan, proxy, RAS,...
         
        Then return the spead of the connectivity.
         
         
         
        #4
          ebgreen

          • Total Posts : 8227
          • Scores: 98
          • Reward points : 0
          • Joined: 7/12/2005
          • Status: offline
          RE: function returns what kind of internet connectivity is available in vb.net Friday, January 27, 2006 8:08 AM (permalink)
          0
          I don't know that there is a simple way to do this. To get the connection type, you could try using WMI and the Win32_NetworkAdapterConfiguration class to look for what connection has an IP address then parse that adapters Caption and Description properties to determine the connection type. AS for the speed, I think you would need to query some remote site for something then calculate the speed based on the time and the amount of information transferred. I've never seen code to do this published anywhere though. Perhaps you could explain what your end goal is and there may be some other way to get there. 
          "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
          Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
          http://www.visualbasicscript.com/m_47117/tm.htm
           
          #5
            xavior78

            • Total Posts : 9
            • Scores: 0
            • Reward points : 0
            • Joined: 11/11/2005
            • Status: offline
            RE: function returns what kind of internet connectivity is available in vb.net Friday, January 27, 2006 8:53 AM (permalink)
            0
            Thanks,
             
            I'll try to look it up.
             
            #6

              Online Bookmarks Sharing: Share/Bookmark

              Jump to:

              Current active users

              There are 0 members and 1 guests.

              Icon Legend and Permission

              • New Messages
              • No New Messages
              • Hot Topic w/ New Messages
              • Hot Topic w/o New Messages
              • Locked w/ New Messages
              • Locked w/o New Messages
              • Read Message
              • Post New Thread
              • Reply to message
              • Post New Poll
              • Submit Vote
              • Post reward post
              • Delete my own posts
              • Delete my own threads
              • Rate post

              2000-2012 ASPPlayground.NET Forum Version 3.9