aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorKitto Flora2009-12-15 06:01:59 -0500
committerKitto Flora2009-12-15 06:01:59 -0500
commit0020afaf67e404be9d5f304020bcbbb1dcd2e1f5 (patch)
treee22fcdf9c94bb2f616a44bd797e452bafb5c61d1 /OpenSim/Framework
parentRemoved excessive call to UpdateMovementAnimations which prevented GroundSit;... (diff)
parentMerge branch 'master' into careminster (diff)
downloadopensim-SC-0020afaf67e404be9d5f304020bcbbb1dcd2e1f5.zip
opensim-SC-0020afaf67e404be9d5f304020bcbbb1dcd2e1f5.tar.gz
opensim-SC-0020afaf67e404be9d5f304020bcbbb1dcd2e1f5.tar.bz2
opensim-SC-0020afaf67e404be9d5f304020bcbbb1dcd2e1f5.tar.xz
Merge branch 'master' into tests
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Util.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index b5e2872..58a0d77 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -1007,6 +1007,26 @@ namespace OpenSim.Framework
1007 return os; 1007 return os;
1008 } 1008 }
1009 1009
1010 public static string GetRuntimeInformation()
1011 {
1012 string ru = String.Empty;
1013
1014 if (Environment.OSVersion.Platform == PlatformID.Unix)
1015 ru = "Unix/Mono";
1016 else
1017 if (Environment.OSVersion.Platform == PlatformID.MacOSX)
1018 ru = "OSX/Mono";
1019 else
1020 {
1021 if (Type.GetType("Mono.Runtime") != null)
1022 ru = "Win/Mono";
1023 else
1024 ru = "Win/.NET";
1025 }
1026
1027 return ru;
1028 }
1029
1010 /// <summary> 1030 /// <summary>
1011 /// Is the given string a UUID? 1031 /// Is the given string a UUID?
1012 /// </summary> 1032 /// </summary>