this code i got from a youtube tutorial and the person explains how the server and client are communicating, but how can i get the information from the server to the clinent.
What line of code does get the information?







this code i got from a youtube tutorial and the person explains how the server and client are communicating, but how can i get the information from the server to the clinent.
What line of code does get the information?







It's 2021 and nobody should waste time on .NET remoting any more, https://docs.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/5.0/remoting-apis-obsolete#reason-for-change
What line of code does get the information?
Well, the key is in the two lines that you have in LoadServer_Click. First, you call Activator.GetObject to create an instance of the method in the remote server. And then you do ds=dss.GetDataSet(), which execute on said instance the method that obtains the data.
This will work, but as someone already commented it is considered obsolete nowadays. If you are looking at this for some new software that you are going to develop (as opposed to learning how it works for the purpose of maintaining a legacy application) then you should consider other more modern options, such as a REST service or at the very least WCF, but not .Net Remoting.
4 people are following this question.
Insert a node as child ,before or after a node in nested dynamic JSON Node using C#
Visual Studio 2019: Undefined behavior in a C++/CLI wrapper project.
Example for how to get Package Metadata from Azure DevOps Rest-Api Artifacts using c#
How to collapse individual nested grids/stackpanels inside a grid?