<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Getting a machine’s NetBIOS domain name in C#</title>
	<atom:link href="http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/</link>
	<description>insert witty, geeky tagline here...</description>
	<lastBuildDate>Fri, 03 Feb 2012 22:33:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Duncan Smart</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1360</link>
		<dc:creator><![CDATA[Duncan Smart]]></dc:creator>
		<pubDate>Mon, 29 Nov 2010 09:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1360</guid>
		<description><![CDATA[WMI does a bunch of things, many of which are just wrappers around existing mechanisms such as this one. I always prefer the simplest possible thing that will work. ]]></description>
		<content:encoded><![CDATA[<p>WMI does a bunch of things, many of which are just wrappers around existing mechanisms such as this one. I always prefer the simplest possible thing that will work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wiebren</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1359</link>
		<dc:creator><![CDATA[Wiebren]]></dc:creator>
		<pubDate>Sun, 28 Nov 2010 23:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1359</guid>
		<description><![CDATA[Just curious :) For WMI for example you need to have the WMI service running, why actually use that if this always works. And WMI seems the newer tech.]]></description>
		<content:encoded><![CDATA[<p>Just curious :) For WMI for example you need to have the WMI service running, why actually use that if this always works. And WMI seems the newer tech.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan Smart</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1358</link>
		<dc:creator><![CDATA[Duncan Smart]]></dc:creator>
		<pubDate>Sun, 28 Nov 2010 18:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1358</guid>
		<description><![CDATA[Not as far as I know. Is the code not working for you? 

]]></description>
		<content:encoded><![CDATA[<p>Not as far as I know. Is the code not working for you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wiebren</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1357</link>
		<dc:creator><![CDATA[Wiebren]]></dc:creator>
		<pubDate>Sun, 28 Nov 2010 13:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1357</guid>
		<description><![CDATA[Is there any service on the target computer needed to run in order to let this work? i couldn&#039;t find that info on Msdn.]]></description>
		<content:encoded><![CDATA[<p>Is there any service on the target computer needed to run in order to let this work? i couldn&#8217;t find that info on Msdn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan Smart</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1133</link>
		<dc:creator><![CDATA[Duncan Smart]]></dc:creator>
		<pubDate>Wed, 12 May 2010 11:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1133</guid>
		<description><![CDATA[OK, I guess there must be something missing from LocalSystem&#039;s access token that these API calls specifically check for. I would think that if you ran the service as a specific user it would then work OK. Or maybe one of the other built-in accounts: http://msdn.microsoft.com/en-us/library/ms686005(VS.85).aspx ]]></description>
		<content:encoded><![CDATA[<p>OK, I guess there must be something missing from LocalSystem&#8217;s access token that these API calls specifically check for. I would think that if you ran the service as a specific user it would then work OK. Or maybe one of the other built-in accounts: <a href="http://msdn.microsoft.com/en-us/library/ms686005(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms686005(VS.85).aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg_m</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1132</link>
		<dc:creator><![CDATA[oleg_m]]></dc:creator>
		<pubDate>Wed, 12 May 2010 11:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1132</guid>
		<description><![CDATA[&gt;Is this code running on a Domain Controller?
No. Windows Server 2003 Standard Edition, but no domain controller.

&gt;There’s some info about this in the docs 
&gt; that might be relevant 
I read it, before write to you

I think the reason is localsystem-user: he has no right to work in a network.]]></description>
		<content:encoded><![CDATA[<p>&gt;Is this code running on a Domain Controller?<br />
No. Windows Server 2003 Standard Edition, but no domain controller.</p>
<p>&gt;There’s some info about this in the docs<br />
&gt; that might be relevant<br />
I read it, before write to you</p>
<p>I think the reason is localsystem-user: he has no right to work in a network.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan Smart</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1131</link>
		<dc:creator><![CDATA[Duncan Smart]]></dc:creator>
		<pubDate>Wed, 12 May 2010 10:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1131</guid>
		<description><![CDATA[Is this code running on a Domain Controller? There&#039;s some info about this in the docs that might be relevant http://msdn.microsoft.com/en-us/library/aa370663.aspx ]]></description>
		<content:encoded><![CDATA[<p>Is this code running on a Domain Controller? There&#8217;s some info about this in the docs that might be relevant <a href="http://msdn.microsoft.com/en-us/library/aa370663.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa370663.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg_m</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1130</link>
		<dc:creator><![CDATA[oleg_m]]></dc:creator>
		<pubDate>Wed, 12 May 2010 09:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1130</guid>
		<description><![CDATA[NetWkstaGetInfo Function...
If the function fails, the return value can be one of the following error codes.

ERROR_ACCESS_DENIED  The user does not have access to the requested information.


32	        int retval = NetWkstaGetInfo(null, 100, out  pBuffer);
33	        if (retval != 0)
34	            throw new Win32Exception(retval);]]></description>
		<content:encoded><![CDATA[<p>NetWkstaGetInfo Function&#8230;<br />
If the function fails, the return value can be one of the following error codes.</p>
<p>ERROR_ACCESS_DENIED  The user does not have access to the requested information.</p>
<p>32	        int retval = NetWkstaGetInfo(null, 100, out  pBuffer);<br />
33	        if (retval != 0)<br />
34	            throw new Win32Exception(retval);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oleg_m</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1129</link>
		<dc:creator><![CDATA[oleg_m]]></dc:creator>
		<pubDate>Wed, 12 May 2010 09:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1129</guid>
		<description><![CDATA[Win32Exception: System.ComponentModel.Win32Exception: Access is denied]]></description>
		<content:encoded><![CDATA[<p>Win32Exception: System.ComponentModel.Win32Exception: Access is denied</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duncan Smart</title>
		<link>http://blog.dotsmart.net/2009/03/11/getting-a-machine%e2%80%99s-netbios-domain-name-in-csharp/#comment-1128</link>
		<dc:creator><![CDATA[Duncan Smart]]></dc:creator>
		<pubDate>Wed, 12 May 2010 08:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://dotsmart.wordpress.com/?p=121#comment-1128</guid>
		<description><![CDATA[Odd - is any exception thrown? ]]></description>
		<content:encoded><![CDATA[<p>Odd &#8211; is any exception thrown?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

