Pengwynn
Pengwynn
CC#
Created by π•Ίπ–“π–žπ– on 4/24/2024 in #help
Invalid signature
:kekw:
19 replies
CC#
Created by π•Ίπ–“π–žπ– on 4/24/2024 in #help
Invalid signature
also do you know what the errorcode it returns?
19 replies
CC#
Created by π•Ίπ–“π–žπ– on 4/24/2024 in #help
Invalid signature
what happens if you do FileInfo file = new FileInfo(path of file in folder you can't access using getfiles)
19 replies
CC#
Created by π•Ίπ–“π–žπ– on 4/24/2024 in #help
Invalid signature
only thing it'll be is permissions issue then.
19 replies
CC#
Created by π•Ίπ–“π–žπ– on 4/24/2024 in #help
Invalid signature
from what i remember the shit thing about getfiles/enumeratefiles is that if you getfiles in a folder but one of those files your program isn't allowed to access it'll throw an exception. meaning it won't return anything at all. But that was a long time ago when i came across that so i might be misremembering
19 replies
CC#
Created by π•Ίπ–“π–žπ– on 4/24/2024 in #help
Invalid signature
to debug the issue i'd do something like this DirectoryInfo dir = new DirectoryInfo(path) var b = dir.GetFiles() foreach(var file in b) { } then you can narrow it down to what bit it is.
19 replies
CC#
Created by π•Ίπ–“π–žπ– on 4/24/2024 in #help
Invalid signature
check that filepath is correct
19 replies