You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
using System.IO;
|
|
|
|
namespace NzbDrone.Common.Extensions
|
|
{
|
|
public static class PathExtensions
|
|
{
|
|
public static bool ContainsInvalidPathChars(this string text)
|
|
{
|
|
return text.IndexOfAny(Path.GetInvalidPathChars()) >= 0;
|
|
}
|
|
}
|
|
}
|