how to find programatically that dll is injected into some process or not using c#
i have to inject a dll into some process .now i want that after injection how to find that dll is injected without using a开发者_高级运维ny third party tools
strong text
What you can do is get all assemblies that reference the start up assembly by using Assembly.GetReferencedAssemblies()
all the way don't till you've got all referenced assemblies and compare that with all loaded assemblies in the current AppDomain, by using AppDomain.Current.GetAssemblies()
.
精彩评论