c# - 'The target account name is incorrect'-IOException with DirectoryInfo.GetFiles -
i doing , working before:
var di = new directoryinfo("folderonshareddrive"); var files = di.getfiles("*");
i have exception , difference can see have windows 10.
exception thrown: 'system.io.ioexception' in mscorlib.dll additional information: target account name incorrect.
try use ip address instead of computer name.
Comments
Post a Comment