C
C#2y ago
2fur

How can I send int value from 1 program, to another via internet?

Hello. Is there any easy way to connect 2 programs to each other over the internet? I mean, I need to send an int value from one program to another. Please give me some tips or links how to do it in the right way
Hello. Is there any easy way to connect 2 programs to each other over the internet? I mean, I need to send an int value from one program to another. Please give me some tips or links how to do it in the right way
1 Reply
Esa
Esa2y ago
One way would be to create an api in your receiving program, and use a httpclient in the sending program to dispatch the httprequest to the receiving program using the endpoint you made. if you create the receiving program as a webapi you'll get an example Controller set up for you then you can just look at how its done and create your own