Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all,

i would just like to ask for help about this line of code below:

RemotingConfiguration.RegisterWellKnownServiceType(Type.GetType("Temporary_Server.Server"), "Server", WellKnownObjectMode.Singleton)


where did "Temporary_Server.Server" came from? is it the name of the solution? i encountered this code in this article:

Instant Messaging / Chat using Remoting, for LAN[^]

thanks in advance merry christmas
Posted
Updated 21-Dec-10 8:27am
v2

Thank you very much. you are correct. :)

merry christmas
 
Share this answer
 
Well, I just downloaded the project as per the link and looked at it.
It looks like 'Temporary_Server' is the namespace and 'Server' is the class name. Thus, combining the two, in order to access/get the type of the Server class, 'Temporary_Server.Server' is being used.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900