How to check inside dll that some library referenced in project where that library used?

67 Views Asked by At

Is there a way to check that some library (assume dll) referenced in project.

Example

public void SomeFunction()
    if(libraryReferenced){
    //
    }
}

And in outer project //Library not Referenced

MyDll.SomeFunction();

In my dll function // libraryReferenced = false

and vice versa

Thanks.

0

There are 0 best solutions below