protected void TriggerOnResolvedHostName(String hostname, IPAddress address) { if (this.OnResolvedHostName == null) { return; } OnResolvedHostNameArgs lEventArgs = new OnResolvedHostNameArgs(); lEventArgs.HostName = hostname; lEventArgs.IPAddress = address; hostname = lEventArgs.HostName; this.OnResolvedHostName(this, lEventArgs); }
protected void TriggerOnResolvedHostName(String hostname, IPAddress address) { if (this.OnResolvedHostName == null) return; OnResolvedHostNameArgs lEventArgs = new OnResolvedHostNameArgs(); lEventArgs.HostName = hostname; lEventArgs.IPAddress = address; hostname = lEventArgs.HostName; this.OnResolvedHostName(this, lEventArgs); }