<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Life of a Southern Programmer &#187; CCS</title>
	<atom:link href="http://bryanprice.info/tags/ccs/feed/" rel="self" type="application/rss+xml" />
	<link>http://bryanprice.info</link>
	<description>An Inquiry Into the Life of Bryan Price</description>
	<lastBuildDate>Sun, 01 May 2011 16:33:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mono Zeroconf on Windows</title>
		<link>http://bryanprice.info/2011/01/29/mono-zeroconf-on-windows/</link>
		<comments>http://bryanprice.info/2011/01/29/mono-zeroconf-on-windows/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 15:04:03 +0000</pubDate>
		<dc:creator>Southern Programmer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Bonjour]]></category>
		<category><![CDATA[CCS]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Zeroconf]]></category>

		<guid isPermaLink="false">http://bryanprice.info/2011/01/29/mono-zeroconf-on-windows/</guid>
		<description><![CDATA[If you know anything about my classroom control system that I built, you know that the project requires Bonjour.  This is the technology Apple uses to help you share your music on a network.  Computers discover one another by publishing their address on a multicast port.  Because the port is multicast the information gets sent [...]]]></description>
			<content:encoded><![CDATA[<p>If you know anything about my classroom control system that I built, you know that the project requires Bonjour.  This is the technology Apple uses to help you share your music on a network.  Computers discover one another by publishing their address on a multicast port.  Because the port is multicast the information gets sent to all computers on the network (you must have a multicast router).  I used a library in java called Bonaha that abstracted away a lot of the complexities of Apple’s Bonjour SDK.</p>
<p>I wanted a way to do the same thing in .NET because, well frankly I’d like to make my classroom control system a more cohesive piece of software and not the kludge that it is (in 2 different languages Java and .NET and pieced together with Elmer’s Glue©).</p>
<p>The obvious choice to keep up with the network state is Mono.Zeroconf.  It’s a project that’s separate from the main Mono repository itself.  I expected this software to work out of the gate.  It may work fine on Linux using the Avahi provider; but with the Bonjour Provider on Windows I had to do some modifications of the source to get it to run.  Luckily there were others online that had already found the problems for me (but the forum posts were in 2 different places and a little difficult to find.), so for your convenience I am combining those bits of information in this blog post.</p>
<p>First you’ll need to do as <a href="http://stackoverflow.com/users/313673/frankenspank">Frankenspank</a> suggested on <a href="http://stackoverflow.com/questions/599846/how-to-register-a-service-with-mono-zeroconf">this</a> StackOverflow post.  You’ll need to change the <strong>UPort</strong> Setter in <strong>Service.cs</strong> file (in the Bonjour Provider Project) to be:</p>
<pre class="brush:csharp">this.port = (ushort) IPAddress.HostToNetworkOrder((short) value);</pre>
<p>Next you’ll need to change the <strong>OnResolveReply</strong> method in the <strong>BrowseService.cs</strong> file (again in the Bonjour Provider Project).</p>
<p>You’ll need to change the second if statement from</p>
<pre class="brush:csharp">if (AddressProtocol == AddressProtocol.Any || AddressProtocol == AddressProtocol.IPv6)</pre>
<p>to</p>
<pre class="brush:csharp">if (AddressProtocol == AddressProtocol.IPv6)</pre>
]]></content:encoded>
			<wfw:commentRss>http://bryanprice.info/2011/01/29/mono-zeroconf-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CCS Update</title>
		<link>http://bryanprice.info/2009/08/19/ccs-update/</link>
		<comments>http://bryanprice.info/2009/08/19/ccs-update/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 18:52:15 +0000</pubDate>
		<dc:creator>Southern Programmer</dc:creator>
				<category><![CDATA[CCS Project]]></category>
		<category><![CDATA[CCS]]></category>

		<guid isPermaLink="false">http://bryanprice.info/2009/08/19/ccs-update/</guid>
		<description><![CDATA[You can now download the new CCS Software that should work for XP – Windows 7 via http://files.bryanprice.info Enjoy.]]></description>
			<content:encoded><![CDATA[<p>You can now download the new CCS Software that should work for XP – Windows 7 via <a href="http://files.bryanprice.info">http://files.bryanprice.info</a> Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://bryanprice.info/2009/08/19/ccs-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subverting Vista UAC With a Service</title>
		<link>http://bryanprice.info/2009/08/17/subverting-vista-uac-with-a-service/</link>
		<comments>http://bryanprice.info/2009/08/17/subverting-vista-uac-with-a-service/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 01:19:17 +0000</pubDate>
		<dc:creator>Southern Programmer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[CCS]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[codeproject]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[uac]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://bryanprice.info/2009/08/17/subverting-vista-uac-with-a-service/</guid>
		<description><![CDATA[This is exactly what I was looking for, it took me forever to find it.&#160; And so here it is: code to subvert vista uac with a service!&#160; http://www.codeproject.com/KB/vista-security/SubvertingVistaUAC.aspx?display=Print.&#160; Please thank me later for giving you a link to this.&#160; I needed this to be able to lock the keyboard and mouse in my CCS [...]]]></description>
			<content:encoded><![CDATA[<p>This is exactly what I was looking for, it took me forever to find it.&#160; And so here it is: code to subvert vista uac with a service!&#160; <a title="http://www.codeproject.com/KB/vista-security/SubvertingVistaUAC.aspx?display=Print" href="http://www.codeproject.com/KB/vista-security/SubvertingVistaUAC.aspx?display=Print">http://www.codeproject.com/KB/vista-security/SubvertingVistaUAC.aspx?display=Print</a>.&#160; Please thank me later for giving you a link to this.&#160; I needed this to be able to lock the keyboard and mouse in my CCS project on standard user accounts on vista.&#160; The only thing.&#160; I could have used this code a week ago and saved myself a lot of coding.</p>
<p>UPDATE: The Code does not work for XP, so you still have to find ways to make it work for both.&#160; So the design I made before is still a good way to do things.&#160; I just need to use this for the keyboard and mouse blocker.</p>
]]></content:encoded>
			<wfw:commentRss>http://bryanprice.info/2009/08/17/subverting-vista-uac-with-a-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My CCS Project Interface Working!!!</title>
		<link>http://bryanprice.info/2009/06/25/my-ccs-project-interface-working/</link>
		<comments>http://bryanprice.info/2009/06/25/my-ccs-project-interface-working/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 02:16:40 +0000</pubDate>
		<dc:creator>Southern Programmer</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[CCS]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://bryanprice.info/2009/06/25/my-ccs-project-interface-working/</guid>
		<description><![CDATA[I&#8217;m really proud of this!]]></description>
			<content:encoded><![CDATA[<div class="youtube-video"><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/FwrZyPHnbrI&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/FwrZyPHnbrI&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed><br />I&#8217;m really proud of this!<br /> </object></div>
]]></content:encoded>
			<wfw:commentRss>http://bryanprice.info/2009/06/25/my-ccs-project-interface-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

