Наследование: Samr.SamrOpenAlias
Пример #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);
			}
		}
Пример #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);
            }
        }