Dear Friend,
I am trying a .Net remoting project hosted in a console application.
I have the following code in remote object class.
I want to show the output in the host console window before sending to client application. But Console.WriteLi ne() is not showing anything in host window.
Would you please suggest me how it is possible?
Regards,
SKPaul
I am trying a .Net remoting project hosted in a console application.
I have the following code in remote object class.
Code:
Public Class ServerTime Inherits MarshalByRefObject Public Function ServerTime() As String Dim ServerDateAndTime As DateTime = DateTime.Now Console.WriteLine(ServerDateAndTime.ToString) Return ServerDateAndTime.ToString End Function End Class
I want to show the output in the host console window before sending to client application. But Console.WriteLi ne() is not showing anything in host window.
Would you please suggest me how it is possible?
Regards,
SKPaul