initial net code for windows.