For C++, Python, and Ruby, initialize sets the
Ice.ProgramName property to the name of the current program (
argv[0]). In C#,
initialize sets
Ice.ProgramName to the value of
System.AppDomain.CurrentDomain.FriendlyName.
Your application code can read this property and use it for activities such as logging diagnostic or trace messages. (See
Section 30.9.1 for how to access the property value in your program.)
Even though Ice.ProgramName is initialized for you, you can still override its value from a configuration file or by setting the property on the command line.
For Java, the program name is not supplied as part of the argument vector—if you want to use the
Ice.ProgramName property in your application, you must set it before initializing a communicator.