コメント
コメントの投稿
※名前とタイトルが入力されていないコメントでは他のコメントとの区別ができません。
入力されていないコメントには返信しませんのであらかじめご了承くださいませ。
NtlmPasswordAuthentication _auth = null;
if (_hostInfo.IsGuest)
{
//this._auth = new NtlmPasswordAuthentication (null, null, null);
this._auth = NtlmPasswordAuthentication.Anonymous;
}
else
{
this._auth = new NtlmPasswordAuthentication(_hostInfo.IP, _hostInfo.UserName, _hostInfo.Password);
}
var url = "smb://www.xxxxx.com/shared/test.text";
SmbFile smb = new SmbFile(url, this._auth);
※名前とタイトルが入力されていないコメントでは他のコメントとの区別ができません。
入力されていないコメントには返信しませんのであらかじめご了承くださいませ。