Tom said:
Willy,
I can see why you are an MVP!! Honestly, this low level networking stuff is
a bit over my head.
I believe what you mean by get rid of NBT is change the resolution scheme in
the method’s destination from Net BIOS, which I believe is the name
resolution mechanism that is resolving the UNC (i.e.
//server/share/path/file), and replace it with something else, preferable SMB
Direct Hosting.
I am not sure what this equates to a couple of abstraction layers up in the
destination of the File.Move method but do I need to change to a URL or a
FQDN?
Are these resolution schemes utilizing SMB Direct Hosting?
Thanks again,
Tom
Well, there are two network protocols that can be used to piggy-back the SMB protocol in
Windows:
1. NetBIOS over TCP/IP (NBT), and
2. SMB "direct hosted", that is SMB over TCP/IP.
1 above uses NetBIOS name resolution (and possibly WINS), and is disabled when you disable
NetBIOS over TCP/IP in your network set-up options (per adapter). 2. Is always enabled
(unless you disable File/Printer sharing) on W2K and higher, and uses the DNS name
resolution protocol.
The MPR will automatically select SMB hosting when the UNC path specifies a FQDN DNS name
(or an ip address or an alias name) and not a NetBIOS name. You can force SMB-hosting for
all SMB traffic, simply by disabling NetBIOS over tcp/ip in your network settings.
In your specific case, you simply have to put the IP hostname name or IP address as the
server in the UNC path, if you don't have (or don't want to use) a DNS server available, you
can put the host name in your hosts file (FQDN and alias) and you can disable NetBIOS over
TCP/IP.
Willy.