internal NmsSession(INmsApplication app) { NmsApplication = app; var hostName = Environment.MachineName; var userName = "******"; var currentUser = WindowsIdentity.GetCurrent(); if (currentUser != null) { userName = currentUser.Name; } replyTo = hostName + "-" + userName; }
internal NmsSession(INmsApplication app) { nmsApp = app; }
internal NmsSession(string brokerUrl, INmsApplication app) : this(app) { this.brokerUrl = brokerUrl; }