c# - .NET Conditionally use a .NET library if installed -


My question is quite simple: I want to add a new section to my project which is a SMO .NET Library (SQL Server Management Object) Will use. I believe that these are set up only if the SQL Management Studio is installed on the computer. Is the code to write for execution only for me if libraries were installed on a computer that runs my program? This means that if it is not installed, they can use all other features of the program.

Simply wrap the entry function call which is an attempt-cache block for FileNotFoundException They use those assemblies.

When you run the code, it will try to load the DLL, and if it is not there, it will throw a FileNotFound, which you can hold and deactivate the UI.

Comments

Popular posts from this blog

c# - Textbox not clickable but editable -

Matlab transpose a table vector -

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -