33 lines
745 B
C#
33 lines
745 B
C#
// Copyright (c) 2014-present schick Informatik
|
|
// This file is one of the direct ports of the "Transmitter Tool" files, namely the "TransferLib.java"
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace bsmd.hisnord
|
|
{
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public sealed class TransmitterUtils
|
|
{
|
|
public static string[] readFiles(string directoryPath)
|
|
{
|
|
if((directoryPath != null) && Directory.Exists(directoryPath))
|
|
{
|
|
return Directory.GetFiles(directoryPath, "*.xml");
|
|
}
|
|
else
|
|
{
|
|
return null;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|