コード例 #1
0
 /// <summary>
 /// Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials.
 /// </summary>
 /// <remarks>
 /// Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials.
 /// </remarks>
 public static NtlmPasswordAuthentication RequestNtlmPasswordAuthentication(string url,
                                                                            SmbAuthException sae)
 {
     if (_auth == null)
     {
         return(null);
     }
     lock (_auth)
     {
         _auth._url = url;
         _auth._sae = sae;
         return(_auth.GetNtlmPasswordAuthentication());
     }
 }
コード例 #2
0
		/// <summary>Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials.
		/// 	</summary>
		/// <remarks>Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials.
		/// 	</remarks>
		public static NtlmPasswordAuthentication RequestNtlmPasswordAuthentication(string
			 url, SmbAuthException sae)
		{
			if (_auth == null)
			{
				return null;
			}
			lock (_auth)
			{
				_auth._url = url;
				_auth._sae = sae;
				return _auth.GetNtlmPasswordAuthentication();
			}
		}
コード例 #3
0
 private void Reset()
 {
     _url = null;
     _sae = null;
 }
コード例 #4
0
		private void Reset()
		{
			_url = null;
			_sae = null;
		}