Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Establishing an Internet Connection via coding

Establishing an Internet Connection via coding

Scheduled Pinned Locked Moved C#
csharpquestionvisual-studio
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ariyanna
    wrote on last edited by
    #1

    Hi, i am wondering to know how can i establish an internet connection via coding in C#.NET ? -no matter it uses APIs or .Net Classes! -no matter it executes on the background (without the end-user's permission) or executes by asking from the end-user! ======= i tried to use APIs in the MSDN Library :

    [DllImport("Wininet.dll", EntryPoint = "InternetGoOnline")]

    with different Entry Points that the MSDN provided there but any of them worked in the final! i am using VS 2008 in vista Ultimate and examine the code above in the Xp Too

    A 1 Reply Last reply
    0
    • A ariyanna

      Hi, i am wondering to know how can i establish an internet connection via coding in C#.NET ? -no matter it uses APIs or .Net Classes! -no matter it executes on the background (without the end-user's permission) or executes by asking from the end-user! ======= i tried to use APIs in the MSDN Library :

      [DllImport("Wininet.dll", EntryPoint = "InternetGoOnline")]

      with different Entry Points that the MSDN provided there but any of them worked in the final! i am using VS 2008 in vista Ultimate and examine the code above in the Xp Too

      A Offline
      A Offline
      Alan N
      wrote on last edited by
      #2

      Your previous post[^] Are you still trying to create that virus trojan? Alan.

      A 1 Reply Last reply
      0
      • A Alan N

        Your previous post[^] Are you still trying to create that virus trojan? Alan.

        A Offline
        A Offline
        ariyanna
        wrote on last edited by
        #3

        nope! i'm so sorry that caused you think that way! i mentioned in my post as you locked! and i told no matter if it ask the user for connecting to internet Trojans ask users ? "Hi dear user i wanna steal your information can you please connect to internet cause i want to send your passwords and any of your pressed keys that i stored before! ha ?" no my dear friend this application not virus,not Trojan, not anything bad else! but if you wondering to know that if i designed a virus and Trojan and a key logger and so more all in a little tiny program, my answer is yes! and in that application that was not necessary to connect to internet, it waits and when the user connected to internet then sends the information. this is for your interest! i'll be so glad if you answer my pretty safe and legal question and if you don't know just follow this post maybe you can learn a little some more! best wishes

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups