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. web service

web service

Scheduled Pinned Locked Moved C#
databasesysadmintutorialquestion
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.
  • S Offline
    S Offline
    skrishnasarma
    wrote on last edited by
    #1

    Hi I am sending some data from one win form application to a database in the remote machine through a web service running in the remote machine. My requirement is first I have to find out that either the machine (Win form application running machine) is connected to the network or not? If the machine is connected to the network I have to send the data to the remote machine else I have to store the data locally. Could any one tell how to detect weather the web service is running in the remote machine or not? Could any one through some inputs on this ? Regards Subbu.

    D 1 Reply Last reply
    0
    • S skrishnasarma

      Hi I am sending some data from one win form application to a database in the remote machine through a web service running in the remote machine. My requirement is first I have to find out that either the machine (Win form application running machine) is connected to the network or not? If the machine is connected to the network I have to send the data to the remote machine else I have to store the data locally. Could any one tell how to detect weather the web service is running in the remote machine or not? Could any one through some inputs on this ? Regards Subbu.

      D Offline
      D Offline
      Dan_P
      wrote on last edited by
      #2

      The client proxy class will throw a WebException if it can't connect to the service.

      S 1 Reply Last reply
      0
      • D Dan_P

        The client proxy class will throw a WebException if it can't connect to the service.

        S Offline
        S Offline
        skrishnasarma
        wrote on last edited by
        #3

        Hi Dan Thanks for your reply.

        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