c# - Can a Singleton Class inside a DLL be shared across processes? -
I have a custom. I am creating a Net Hardware framework that will be used by other programmers to control some hardware. They will add a reference to our DLL to reach our hardware infrastructure. I need a shared class that will be accessed with multiple applications (processes). What I want a singleton pattern, but it only works for many sources within your process. I may be completely wrong but here is an example of the C # code which I currently have. I can not help feeling that the design is wrong. I wish I could share more specific information but I can not do it I have to emphasize that there will be no control over my client application. New Resource (); Public string data; Personal Resources () {Data = DateTime.Now.ToString (); } Examples of public static processing {return {return m_instance; Examination: (Finally, customer AP) class program {static zero main (string [] args) {Console.WriteLine (" Enter the resource to capture! "); Console.Read...