Inheritance: DcerpcMessage
Exemple #1
0
 /// <exception cref="SharpCifs.Dcerpc.DcerpcException"></exception>
 /// <exception cref="System.IO.IOException"></exception>
 public virtual void Bind()
 {
     lock (this)
     {
         try
         {
             State = 1;
             DcerpcMessage bind = new DcerpcBind(Binding, this);
             Sendrecv(bind);
         }
         catch (IOException ioe)
         {
             State = 0;
             throw;
         }
     }
 }
		/// <exception cref="SharpCifs.Dcerpc.DcerpcException"></exception>
		/// <exception cref="System.IO.IOException"></exception>
		public virtual void Bind()
		{
			lock (this)
			{
				try
				{
					State = 1;
					DcerpcMessage bind = new DcerpcBind(Binding, this);
					Sendrecv(bind);
				}
				catch (IOException ioe)
				{
					State = 0;
					throw;
				}
			}
		}