Returns the FileInfo object for this temp directory.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Info As DirectoryInfo |
Example
Library/Library.Test/TestTempFiles.cs
C# | Copy Code |
---|
using(TempDirectory dir = new TempDirectory())
Assert.AreEqual(dir.TempPath, dir.Info.FullName); |
VB.NET | Copy Code |
---|
Using dir As New TempDirectory()
Assert.AreEqual(dir.TempPath, dir.Info.FullName)
End Using |
Requirements
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
See Also