Click here to Skip to main content
15,912,756 members
Everything / Remoting

Remoting

remoting

Great Reads

by chain1234
Use the AppDomain to load another .NET assembly version.
by Maxim Komlev
Example of WebBrowser customization and http/https server on localhost as engine for cross-platform application based on web technologies.
by Frank McCown
This article illustrates how .NET remoting is used in a GUI environment. It illustrates how a server can reflect what is happening to a remote object that it controls. The use of synchronous and asynchronous calls is also examined along with code design improvements.
by metastruct
SFTP Files using PLINK as a process in C#

Latest Articles

by Maxim Komlev
Example of WebBrowser customization and http/https server on localhost as engine for cross-platform application based on web technologies.
by metastruct
SFTP Files using PLINK as a process in C#
by chain1234
Use the AppDomain to load another .NET assembly version.
by Frank McCown
This article illustrates how .NET remoting is used in a GUI environment. It illustrates how a server can reflect what is happening to a remote object that it controls. The use of synchronous and asynchronous calls is also examined along with code design improvements.

All Articles

Sort by Score

Remoting 

20 May 2012 by Mehdi Gholam
Like the error says the System.Data.Linq.DataQuery object must have a Serializable attribute, since it is a system class then you can't do anything about it (BinaryFormatter serializer requires this).Don't Marshal your objects like this, use the Dataset for this.
19 Sep 2012 by loctrice
this was , as the comment suggested, a moon phase bug. Something quirky.I have a witness to ensure that I was not imagining it. We also connected from another computer there in the office and it worked fine. The "hail mary" that worked was to start the application, then go back home and...
12 Jan 2016 by Afzaal Ahmad Zeeshan
.NET framework has many networking protocols. Let me count:1) FTP (direct file transfer); See System.Net[^] for this.2) HttpClient[^] (for HTTP communication)3) TcpListener[^]/TcpClient[^] (for TCP/IP communication)You could chose one that may be easy for you! In my opinion, TCP/IP...
28 May 2012 by El_Codero
Hi,please check first if EnablePriviliges Property in is set to true and ImpersonationLevel is set to Impersonate.Like this:ManagementScope scope = new ManagementScope("\\\\192.168.178.55\\root\\cimv2", options);scope.Options.EnablePriviliges = true;scope.Options.Impersonation =...
26 Jun 2012 by Sergey Alexandrovich Kryukov
In my approach, the best schema should be based on your application-level protocol you always have in such applications (even if you as a developer unaware that you introduce such protocol, you always do it, even though such protocol could be trivial; please see:...
29 Jun 2012 by SuperMiQi
Hello everyone,I am working with .NET remoting in c# and this work very well with the registered object via: RemotingConfiguration.RegisterWellKnownServiceTypeThe object is defined as following:public class One : System.MarshalByRefObject{ private Two _Two = new Two();...
19 Sep 2012 by loctrice
I am working from home today and just figured out that my application is not even making requests to localhost (found by breakpoints). This just happened as of this morning, and I can assure you it was working on site.I have two projects in one solution. I have a web project and a wpf...
3 Jan 2013 by Abhinav S
These were three modes of communication.WCF is a single concept that defines bindings to do each of these tasks.You need to learn what type of communication is required for you and then use the appropriate bindings in WCF.
8 Jul 2013 by chain1234
Use the AppDomain to load another .NET assembly version.
12 Jan 2016 by Member 12261208
Hi,i need help about display a picture that saved in another computer.I know the path of pic but i could't find the way of connect to other computer and if even i could, i need a function which returns the file...
12 Jan 2016 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Use WebClient[^].Refer - Downloading a remote file with vb.net / c# using WebClient – Chris Bitting[^]
7 May 2012 by yogeshbhosale
Hi, I have created an application that uses .net remoting to communicate to the server.i am trying to convert my client application on asp.net and server still on windows. when i run my client and server through debugger it communicates well, but when i host the client on IIS it gives...
8 May 2012 by Ganesan Senthilvel
There is a Microsoft article about how to spawn a process that runs under the context of the impersonated user. It has been published at http://support.microsoft.com/kb/889251/en-us[^]
8 May 2012 by Ganesan Senthilvel
There is a Microsoft article about how to spawn a process that runs under the context of the impersonated user. It has been published at http://support.microsoft.com/kb/889251/en-us[^]Hope, it resolves the reported issue.
22 May 2012 by Prafulla Sahu
hi I am building a remote desktop application and that application should be display inside a panel,I did this application but i am unable to display that application into a panel please suggest me how would i do that.Thanks In Advance
30 Oct 2019 by Prafulla Sahu
hi I have a requirement that i need to find the computer name,Operating System name,MAC address and network role of a given IP address.I am able to find the Computer name but unable to find MAC address and OS information so please advice me how do i do that thanks in advance. Regards ...
31 May 2012 by vicky024
I am doing project on remote system information how to connect to the remote computer in workgroup and gather information like hardware and software such as operating-system etc by using the wmi in c#?
11 Jun 2012 by Prafulla Sahu
hi I want to find list of all the port number and its description of a computer using c# please suggest me how would I do that
11 Jun 2012 by Sridhar Patnayak
Dear Sahu The following links will help full to you http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.getportnames.aspx[^]Thanks,SP
19 Jun 2012 by Member 7966831
I have a project using remoting with host server and client, I would like to know how can I able only 2 users use the host server at a time and prevent more tries using thraeds.
25 Jun 2012 by Member 7966831
I have a singleton object that clients use with tcp remoting,now before they get access to the object I try to limit them as so only two clients can use the program and all the others will wait in some queue or so.How to do it?
28 Jun 2012 by amitdhavan8
.net remoting working on IIS7.5 Properly but sometimes not working inmy ASP.net Solution.Error message as given belowServer Error in '/' Application.--------------------------------------------------------------------------------The remote server returned an error: (404) Not Found....
29 Jun 2012 by Herman<T>.Instance
type [WebMethod]above public Two GetSubObject()
1 Jul 2012 by SuperMiQi
Hello All,I have found the keyword [Serialize()] is working fine. I just had a error with the eventLog feature in my service.This works very well for sharing you dataset.Thank anymway.Best regards.MiQi
11 Oct 2012 by UnaisNI
We have an ASP.NET application which has been built up on version 1.1 Now we need to incorporate a new functionality in Version 4.0 and this includes a user control having a grid and a number of other controls. We need to display this user control inside a page (in a frame) in .Net version 1.1,...
10 Dec 2012 by Mazen_wadi
Hello there,I am trying to build a simple chatting application using .net remotingWhen the string in the remoting object is changed the remoting object will rise an event which should be handled by the clients, so when i try to attach the Handler to -i am using vb.net- the event...
10 Dec 2012 by Pascal-78
Articles about .NET Remoting events can be found on codeprojectlike this one:.NET Remoting Events Explained
18 Dec 2012 by Dominique Krug
HelloI provided a C# application, which to log messages over a TCP/IP connection to a CONSOLE (a TXT file would also go) to transfer and indicate is. Unfortunately this does not function and I didn't know which changes is necessarily thereby the messages over the TCP/IP connection can be...
19 Dec 2012 by Jibesh
Read about .Net Remoting herea-simple-remoting-example-in-c/[^]dotnetremoting[^]
3 Jan 2013 by Member 9427602
I am learning .Net Network Programming. I am in confusion. I read at various places that WCF is replacement of Web Services, WCF is the replacement of Remoting.IS IT RIGHT THAT WCF IS THE REPLACEMENT OF WEB SERVICES,.NET REMOTING AND SOCKET PROGRAMMING?If it is true then why should we...
21 Jan 2013 by nag24_m
Hi Team,I am new to .Net. I have a requirement, where I need to get Client Machine details such as OS, Version, Hardware, IE browser version, and all the certificate details and send that information to Server. The main aim is to help client to install right Certificates.Please suggest...
23 Jan 2013 by Espen Harlinn
Not really a good way to handle this - anyway Matthew Hudson has created a VB script that allows you to handle this using WMI:http://www.sccm-tools.com/tools/vbscript/vbscript-certificates.html[^]The above script will allow you to get information about certificate expiration using WMI....
22 Jan 2013 by tonydsouza1987
I have the following Projects : IFTObj : Interface DLL. FTObj : Remote object hosted in EXE. This objects inherits MarshalByRefObject and implements the IFTObj interface. In this Object I have two classes 'clsFTObj' and 'clsSQLDBWrapper'. Class 'clsFTObj' inherits MarshalByRefObject....
14 Dec 2013 by Member 4479742
Hi i stored class object in logical data(call context) ,when i try to access the logical data(call context) from different app domain,I'm getting system.runtime.serialization issue. Following my code will reproduce my issue . public static class Program { private...
29 Jan 2014 by RG_SA
Hello allI have currently come across a strange situation with one of my customers upgrading there machines from Windows XP to Windows 7. On the Windows 7 hosts file a record exist for local host pointing to a non standard IP (NOT 127.0.0.1). From some research I see that Windows 7 uses a DNS...
31 Mar 2014 by NaderC
Hi thereI implemented a server/client app in c# that use .net remoting for communication between the clients and server. I use the client activated object in the server side because I want the server save the states of each clients.I configure the TCP channel and register the remote object...
3 Jul 2014 by Gary E. Shay, Jr.
Hi,I work in an Engineering and Design group that uses CAD. Occasionally, we get hanging file locks that require us to remove the lock. Due to security constraints, we do not have access to the server on which the locked file resides.I created an admin application that connects to a...
3 Jul 2014 by purvivani
you can use LockCount property of resources i.e. res.LockCount add res.lockCount to your table. if the LockCount > 0 then then it is readonly files.try { dT.Rows.Add(res.Name, res.Path, res.User ,res.LockCount); ...
4 Dec 2014 by DominicZA
Hi there,I am trying to connect to my server (hosted by Hetzner). When I try connect I get an error saing "An internal error occurred". I managed to log in via their robot and restart the machine, but still cant connect? This worked before. No updates have been run to my...
4 Dec 2014 by ZurdoDev
This is a site for help with code you have written. This issue you describe is a technical support issue and something that your hoster will have to resolve.
6 Jan 2015 by User 9727524
Hello all at Code Project,I have been presented with a challenge. Essentially I need to create a way to push or install software from a file share to a remote system without using Remote Desktop or Remote Assistance applications in Windows 7. How can this be done in a VB Windows Form...
6 Jan 2015 by Dave Kreskowiak
You have a bunch of problems to solve.1) Does every user have access to the software share? If so, you have a security problem as any user can just go and pickup the installer themselves.2) You can launch a process on a remote machine using WMI and the Win32_Process class. Though, you...
11 Aug 2015 by Mohamad128
I have the following boxes:a) A Windows box with Eclipse CDT(or PTP)b) A Linux box,including Compiler, accessible for me only via SSH.c) A Linux box, including SVN Source, accessible for me only via SSHBoth the compiler and the hardware required to build and run my project is...
12 Jan 2016 by CPallini
Could be a starting point: Socket Code Examples[^].
12 Apr 2018 by krishna Dev
I am working on an old .net application. Which implemented with .net remoting and hosted in IIS. URL of .net remote object is like "http://serverName:12345/ClassNameOFRemoteObject.rem" I am trying to replicate it in my local system for debugging purpose but not able to succeeded. Therefore,...
31 Jul 2020 by Abbathsin
I have been using Net Remoting for so long that I'm trying migrate to WCF because I need to now pass all this data to a web through json. The reason is that the libraries I use are licensed and these are for machine communication (Interop and...
31 Jul 2020 by Jin Vincent Necesario
Hi, In my opinion, you are on the right track. You really need to upgrade or migrate to WCF because it also supports REST. However, if you can migrate directly to ASP.NET Web API that would be great. Now for the migration steps, here are...
17 Aug 2021 by Xarzu
For the first time in my life as a software developer I am tasked to remote in by VPN (sort of) to a server where ASP code resides. I want to copy and paste the text locally so I can do things like searches for function names and such. I can do...
17 Aug 2021 by Richard Deeming
If the remote server disables clipboard access, then you won't be able to copy and paste anything to your local computer. You could try uploading the code somewhere - a private GitHub gist[^] for example. But this may be blocked, depending on...
17 Aug 2021 by OriginalGriff
We can't help you: you need to talk to the "owners" of the remote location and ask them how to access the software source - if it's actually the code for a website, chances are it may not even be on the server as it is often compiled to a binary...
15 Oct 2021 by SuperMiQi
Hello, I have created a small test program based on .NET Remoting feature. When running on a specific computer, I get the following exception: mpRemotingServer.exe Assert Failure mpRemotingServer.exe - Assert Failure Expression: [mscorlib...
15 Oct 2021 by Dave Kreskowiak
Just a warning. .NET Remoting has been dead for quite a long time now. It was replaced by Windows Communication Foundation back in the .NET 3.0 days. Migrating from .NET Remoting to WCF - WCF | Microsoft Docs[^]
24 Apr 2016 by Maxim Komlev
Example of WebBrowser customization and http/https server on localhost as engine for cross-platform application based on web technologies.
6 Jun 2005 by Frank McCown
This article illustrates how .NET remoting is used in a GUI environment. It illustrates how a server can reflect what is happening to a remote object that it controls. The use of synchronous and asynchronous calls is also examined along with code design improvements.
5 Jun 2012 by theitmueller
Dear all,I have an application (VB.Net 2.0) with a client and a remoteing server.Once the clients starts his work, he registers with the server and receives a session-ID. The session data is stored on the server and the client receives the session id. Once registered, the client stores...
27 May 2012 by Prasad_Kulkarni
To get IP Address:private static string GetIpAddress() { string strHostName = ""; strHostName = System.Net.Dns.GetHostName(); IPHostEntry ipEntry = System.Net.Dns.GetHostEntry(strHostName); IPAddress[] addr = ipEntry.AddressList; ...
20 Jun 2012 by harryforum
well , i am working on vb.net windows based project.the project is working fine but when i try to run its set up of its exe file it is giving me the error no connection could be made because the target machine actively refused it(127.0.0.1:5000)and the error is being generated on the...
21 Jan 2013 by Kishor Deshpande
Request.Browser Property will help you.Link: Request Details
11 Oct 2012 by Mehdi Gholam
It would be much easier if you upgrade your servers to .net v4.0 and not use .net 1.1For the most part the upgrade process should be transparent and seamless.
20 May 2012 by Nguyễn Minh Phúc
Hi all,I'm implementing .Net Remoting Project but it occurs some problem, pls help me.I code proxy object to comunicate between client and server as:public class clsComponent : MarshalByRefObject { public DataSet TransDetails(string strServer) { string...
20 May 2012 by Nguyễn Minh Phúc
Dear,I removed MarshalByRefObject, it have no error although i run method using LINQ. Some boby please explain to me clearly!
28 May 2012 by Prafulla Sahu
hi I have a requirement that I am trying to retrieve operating system information using IP address(system's are connected through LAN)of a remote computer system.I am able to extract the information but, only from windows 7 operating system when I am trying for XP it is giving me an...
31 May 2012 by Tim Corey
Here is an article to get you started:http://www.terminally-incoherent.com/blog/2010/02/18/collecting-hardware-information-using-c-and-wmi/[^]However, there aren't a lot of full applications already out there to do an inventory using C#. The reason for this is because the typical way of...
20 Jun 2013 by Robert Clove
Hi All,I want to know about the remoting layer? I searched Google but found mostly about the dot net remoting layer not the generic explanation.I want to the following ThingsWhat is the need of the remoting Layer? what are the functions of this layer.Requirements for this...
28 Jul 2013 by Member 8780842
I am doing a bus reservation project in c# windows form .net remotingI am getting from , to and date of journey and then displaying it in datagridviewbut my database coding is written in the server side class library .. I am need to send the retried records from the database and pass it...
5 Jan 2015 by User 9727524
Private Sub Button12_Click(sender As System.Object, e As System.EventArgs) Handles Button12.Click Dim textbox1 As String = Text Process.Start("msra.exe", "/offerra " & TextBox1) End Sub_________________________________________________________________[TextBox]
5 Jan 2015 by Sergey Alexandrovich Kryukov
First part of the question is not clear.This is how you can "Run as Administrator": http://www.sevenforums.com/tutorials/11841-run-administrator.html[^].You cannot bypass manual UAC confirmation. If it was possible, who would need such "protection"? But you can create and embed...