I have a dependency on .NET 2.0 SP2 in my ClickOnce deployed application (the ApplicationDeployment.CurrentDeployment.CheckForDetailedUpdate(false) method is SP
ApplicationDeployment.CurrentDeployment.CheckForDetailedUpdate(false)
You could use reflection to see whether the method exists.
private void CheckDotNet2SP() { return typeof(WaitHandle).GetMethod("WaitOne", new Type[] { typeof(int) }) != null; }