SharpCifs.UniAddress.QueryThread.Run C# (CSharp) Method

Run() public method

public Run ( ) : void
return void
			public override void Run()
			{
				try
				{
				    //Ans = new [] { NbtAddress.GetByName(Host, Type, Scope, Svr) };
				    Ans = NbtAddress.GetAllByName(Host, Type, Scope, Svr);
				}
				catch (UnknownHostException uhe)
				{
					this.Uhe = uhe;
				}
				catch (Exception ex)
				{
					Uhe = new UnknownHostException(ex.Message);
				}
				finally
				{
					lock (Sem)
					{
						Sem.Count--;
						Runtime.Notify(Sem);
					}
				}
			}
		}
UniAddress.QueryThread