Configure Remote Machine's IP in C# Service At Install Time
-
Hi there. I have following scenario - one machine with a service installed (machine 1) - one remote machine with public ip (machine 2) - one machine with web application (machine 3) All these machines could be in the same premises or in different. Since all of these machines and their respective software could be installed in any order, I don't know how to get machine 2's IP. Because my service on machine 1 will use this IP to upload data to it. And, of course, web application on machine 3 will display this data. Any idea what API/library could I use on machine 1 to recieve machine 2's IP? Thanks for anything you share.
-
Hi there. I have following scenario - one machine with a service installed (machine 1) - one remote machine with public ip (machine 2) - one machine with web application (machine 3) All these machines could be in the same premises or in different. Since all of these machines and their respective software could be installed in any order, I don't know how to get machine 2's IP. Because my service on machine 1 will use this IP to upload data to it. And, of course, web application on machine 3 will display this data. Any idea what API/library could I use on machine 1 to recieve machine 2's IP? Thanks for anything you share.
-
Hi there. I have following scenario - one machine with a service installed (machine 1) - one remote machine with public ip (machine 2) - one machine with web application (machine 3) All these machines could be in the same premises or in different. Since all of these machines and their respective software could be installed in any order, I don't know how to get machine 2's IP. Because my service on machine 1 will use this IP to upload data to it. And, of course, web application on machine 3 will display this data. Any idea what API/library could I use on machine 1 to recieve machine 2's IP? Thanks for anything you share.
Why don't you have machine 2 login to machine 1 and upload (i.e. FTP); instead of 1 calling 2, etc. A scheduler on #2 and an event / file handler on #1 should suffice; based on your description.
"(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal