I'm writing an application that targets Direct3D11 (through SlimDX) and shader model 5.
When I'm running it on a system that doesn't have SM5 capable hardware, I will get a NullReferenceException when trying to access the techniques in the compiled effect instance.
How can I check if the adapter is capable of this before I even attempt to use any of these features?