mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 18:35:39 +00:00
25 lines
469 B
C#
25 lines
469 B
C#
|
using Gnome.Vfs;
|
||
|
using System;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace Test.Gnome.Vfs {
|
||
|
public class TestInfo {
|
||
|
static void Main (string[] args)
|
||
|
{
|
||
|
if (args.Length != 1) {
|
||
|
Console.WriteLine ("Usage: TestDirectory <uri>");
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
Gnome.Vfs.Vfs.Initialize ();
|
||
|
|
||
|
FileInfo[] entries = Gnome.Vfs.Directory.GetEntries (args[0]);
|
||
|
|
||
|
foreach (FileInfo info in entries)
|
||
|
Console.WriteLine (info.ToString ());
|
||
|
|
||
|
Gnome.Vfs.Vfs.Shutdown ();
|
||
|
}
|
||
|
}
|
||
|
}
|