FileExists() public static method

file information

public static FileExists ( string pchFile ) : bool
pchFile string
return bool
        public void FileWrite()
        {
            var rand     = new Random();
            var testFile = new byte[1024 * 1024 * 100];

            for (int i = 0; i < testFile.Length; i++)
            {
                testFile[i] = (byte)i;
            }

            var written = SteamRemoteStorage.FileWrite("testfile", testFile);

            Assert.IsTrue(written);
            Assert.IsTrue(SteamRemoteStorage.FileExists("testfile"));
            Assert.AreEqual(SteamRemoteStorage.FileSize("testfile"), testFile.Length);
        }