Inheritance: Samr.SamrOpenAlias
Ejemplo n.º 1
0
		/// <exception cref="System.IO.IOException"></exception>
		public SamrAliasHandle(DcerpcHandle handle, SamrDomainHandle domainHandle, int access
			, int rid)
		{
			MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this);
			handle.Sendrecv(rpc);
			if (rpc.Retval != 0)
			{
				throw new SmbException(rpc.Retval, false);
			}
		}
Ejemplo n.º 2
0
        /// <exception cref="System.IO.IOException"></exception>
        public SamrAliasHandle(DcerpcHandle handle, SamrDomainHandle domainHandle, int access
                               , int rid)
        {
            MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this);

            handle.Sendrecv(rpc);
            if (rpc.Retval != 0)
            {
                throw new SmbException(rpc.Retval, false);
            }
        }