SDK/MrAG/DLLChecker.cs

20 lines
428 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MrAG {
public class DLLChecker {
class XNA{ public XNA() { new Microsoft.Xna.Framework.Color(); } }
public static bool HasXNA() {
try {
new XNA();
return true;
} catch {
return false;
}
}
}
}