CSL.DirectoryHandler.GetTorrents C# (CSharp) 메소드

GetTorrents() 공개 정적인 메소드

public static GetTorrents ( ) : string[]
리턴 string[]
        public static string[] GetTorrents()
        {
            try
            {
                string[] files = Directory.GetFiles(SettingsHandler.GetTorrentSaveFolder(), "*.torrent", SearchOption.TopDirectoryOnly);
                return (files.Length == 0) ? null : files;
            }
            catch { return null; }
        }