Changing Windows 2000 Password in C# PDF Print E-mail
User Rating: / 0
PoorBest 
Sunday, 08 March 2009
HTML clipboard HTML clipboard

Description: How to change your windows 2000 password through C# project.

It is very simple code you just follow the bellow code.

It is useful to change you Operating System password through c# project.

using System;

using System.DirectoryServices;

public class MyChangePasswordExample {

 public static void Main(string[] args) {

 DirectoryEntry myDirectoryEntry;



    myDirectoryEntry = new//yourdirectoryserver/TheUsername,User");

DirectoryEntry(@"WinNT:
myDirectoryEntry.Invoke("setPassword", "NewPassword");
myDirectoryEntry.CommitChanges();
}
}

c# will alow to change the your windows 2000 password using System.DirectoryServices name space

Enjoy with this project!

Try to change your Operating System password

Last Updated ( Sunday, 08 March 2009 )
 
< Prev   Next >
School Joomla Templates and Joomla Tutorials