System.IO.IsolatedStorage.GetCreationTimeTests.GetCreationTime_GetsTime_Unix C# (CSharp) Method

GetCreationTime_GetsTime_Unix() private method

private GetCreationTime_GetsTime_Unix ( ) : void
return void
        public void GetCreationTime_GetsTime_Unix()
        {
            using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly())
            {
                string file = "GetCreationTime_GetsTime";
                isf.CreateTestFile(file);

                // Filesystem timestamps vary in granularity, we can't make a positive assertion that
                // the time will come before or after the current time.
                Assert.Equal(default(DateTimeOffset), isf.GetCreationTime(file));
            }
        }