Last active
July 6, 2021 10:38
-
-
Save Mahno74/184e893c2102ff6ceab57807a2865b96 to your computer and use it in GitHub Desktop.
Проверка наличия файла
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
public static bool CheckBd() { | |
string curDir = Directory.GetCurrentDirectory(); | |
FileInfo fileInf = new FileInfo(curDir + "/store.mdb"); | |
if (fileInf.Exists) return true; | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment