<?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>michael.wiedau.com &#187; C#</title>
	<atom:link href="http://www.michael.wiedau.com/articles/category/computer/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michael.wiedau.com</link>
	<description>Persönlicher Blog von Michael Wiedau</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:11:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel="next" href="http://www.michael.wiedau.com/articles/category/computer/c/feed/?page=2" />

		<item>
		<title>C# Build-Version feststellen</title>
		<link>http://www.michael.wiedau.com/articles/c-build-version-feststellen/</link>
		<comments>http://www.michael.wiedau.com/articles/c-build-version-feststellen/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 14:20:10 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://www.michael.wiedau.com/?p=268</guid>
		<description><![CDATA[Hier mal ein Beispiel wie man die aktuelle Version und das Datum eines C# Programms (oder einer DLL) feststellen kann: Dazu muss es eine Datei AssemblyInfo.cs geben welche u.A. folgende Zeile enthält:]]></description>
			<content:encoded><![CDATA[<p>Hier mal ein Beispiel wie man die aktuelle Version und das Datum eines C# Programms (oder einer DLL) feststellen kann:</p>
<pre class="brush: csharp; title: ; notranslate">
Version version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
 DateTime dt = new DateTime(2000, 1, 1);
 dt = dt.AddSeconds(version.MinorRevision * 2);
 String time = dt.AddDays(version.Build).ToString();

 Console.WriteLine(version);
 Console.WriteLine(time);
</pre>
<p>Dazu muss es eine Datei AssemblyInfo.cs geben welche u.A. folgende Zeile enthält:</p>
<pre class="brush: csharp; title: ; notranslate">
[assembly: AssemblyVersion(&quot;1.0.*&quot;)]
</pre>
</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.michael.wiedau.com/articles/c-build-version-feststellen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

