Quantcast
Channel: MCEBuddy 2.x
Viewing all articles
Browse latest Browse all 10715

New Post: Keep database of everything

$
0
0
you'd think that Windows would return a simple way to verify that right?

the command used to delete a file is File.Delete, that function does not return any notification of whether the file exists or not.

File.Exists is used to check the presence of a file.

the funny part is that both use the same underlying API's to manage files. In your case File.Delete does not work because the network if offline. Here File.Exists will also fail since the network if offline.

Either way it doesn't solve your issue.

The only way to get this logic to work is to figure out *if* the network offline - I don't know of any simple way to do that.

My question is more fundamental - if you're using a LAN/Home Network - WHY is your network offline? It's a pretty basic assumption that network should be connected all the time.



Viewing all articles
Browse latest Browse all 10715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>