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

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -