コード例 #1
0
        public virtual string ProvideId(IProcessEngine processEngine)
        {
            var localIp = "";

            try
            {
                //localIp = InetAddress.LocalHost.HostAddress;
            }
            catch (System.Exception e)
            {
                // do not throw an exception; failure to determine an IP should not prevent from using the engine
                Log.CouldNotDetermineIp(e);
            }

            return(CreateId(localIp, processEngine.Name));
        }