Skip to content

Commit

Permalink
SUSystemProfiler now uses the dotNetVersion key instead of runtimeVer…
Browse files Browse the repository at this point in the history
…sion. Added License.
  • Loading branch information
Daniel Kennett committed Mar 23, 2010
1 parent f4342ae commit 832e13b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
Binary file modified SparkleDotNET.suo
Binary file not shown.
36 changes: 36 additions & 0 deletions SparkleDotNET/License.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
SparkleDotNET License

This is the license agreement for all of the code contained in SparkleDotNET. In a nutshell:

1. You can use this code as you with in your own products, whether they are open source, free or commercial.

2. You may modify the code.

3. If you redistribute the code without modifying it, you must include the original license.

4. We�re not liable for the code, nor can we provide any support for it.

5. If you don�t agree to this license, don�t use our code!

The Agreement
Copyright (c) 2010 KennettNet Software Limited
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR �AS IS� AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion SparkleDotNET/SUSystemProfiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static ArrayList SystemProfileForHost(SUHost host) {
//.NET version

string frameworkVersion = Environment.Version.ToString();
profile.Add(DictionaryForProfileItem("runtimeVersion", SULocalizedStrings.StringForKey(".NET Version"), frameworkVersion, frameworkVersion));
profile.Add(DictionaryForProfileItem("dotNetVersion", SULocalizedStrings.StringForKey(".NET Version"), frameworkVersion, frameworkVersion));

// 64-bit?

Expand Down

0 comments on commit 832e13b

Please sign in to comment.