C#.NET
private void GetFileNames(TKFP.Net.FtpClient ftp , string filename)
{
TKFP.IO.FileInfo file = new TKFP.IO.FileInfo(ftp, filename);
TKFP.IO.DirectoryInfo directory = file.Directory;
Console.WriteLine(file.CreationTime.ToString("yyyy/MM/dd HH:mm:ss"));
Console.WriteLine(directory.CreationTime.ToString("yyyy/MM/dd HH:mm:ss"));
ftp.DateTimeDetails = true;
Console.WriteLine(file.CreationTime.ToString("yyyy/MM/dd HH:mm:ss"));
Console.WriteLine(directory.CreationTime.ToString("yyyy/MM/dd HH:mm:ss"));
}
VB.NET
VB.NETのコードはC#.NETを元に「
C#.NET to VB.NET Translator」によって作成したものです