c# - Error when run my programe using GPDomain object -


i have library:

microsoft.grouppolicy; 

and code:

gpdomain domain = new gpdomain("mydomain"); console.writeline(domain.domainname); 

i message error when run code:

could not load file or assembly 'microsoft.grouppolicy.serveradmintools.gpmgmtlib,  version=2.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35' or 1 of  dependencies. system cannot find file specified. 

any idea on how solve problem?

missing microsoft.grouppolicy.serveradmintools.gpmgmtlib.dll

installing gpmc class library

and try on win8 install gpmc


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -