Jump to content

Welcome to NulledBlog
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

Check For Internet Connection in C#

library check for internet connection internet C#

  • Please log in to reply
3 replies to this topic

#1
xXxEcstasysxXx

  • Offline
  • Addicted

  • Posts:
    201
    Reputation:
    72
    Joined:
    09 Dec, 2015

I created a library on C#, that checks if your computer is connected to internet or not. Is useful for license registrations and many other things. Along with the .dll, i have a txt doc with instructions on how to uses and an example along with it.

 

Download link:

Hidden Content
You'll be able to see the hidden content once you reply to this topic.

 

If you have any questions, i 'll be happy to answer them through comments or private PM's !


  • 1

 gAH6piN.png


#2
FreeDownvoteMe

  • Offline
  • #FREEDOWNVOTEME+

  • Posts:
    443
    Reputation:
    -305
    Joined:
    28 Jan, 2016

but... s95QzSl.png


  • 1

XJ3D3Zw.png

:pepi: JOKERART = LIER :pepi:

http://www.niemiau.xyz/downvoteme/

 


#3
homokind

  • Offline
  • Hero Of The Faggos

  • Posts:
    22
    Reputation:
    0
    Joined:
    30 Mar, 2016

You could use this way too.

Example :

[DllImport("wininet.dll")]
private static bool internetState(out int description, int value);

private void button1_Click(object sender, EventArgs e)
{
int descriptionValue;
MessageBox.Show(internetState(out descriptionValue;,0).ToString());
}

Output will be : True or False as it is the only value a bool can Return.

But i like the way you do it ;).

-Mike


  • 0
“An efficient plan will involve a flame thrower” 
― Anders Breivik, 2083: A European Declaration of Independence

#4
hexyousting

  • Offline
  • Lurker

  • Posts:
    5
    Reputation:
    0
    Joined:
    02 May, 2016

ty


  • 0



Also tagged with one or more of these keywords: library, check for internet connection, internet, C#

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users