Files

25 lines
589 B
C#
Raw Permalink Normal View History

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
2018-12-18 21:11:21 +05:00
2015-06-11 15:15:45 -07:00
using System;
using System.Management.Automation;
2018-12-18 21:11:21 +05:00
using Xunit;
2015-06-11 15:15:45 -07:00
namespace PSTests.Parallel
2015-06-11 15:15:45 -07:00
{
public static class SecuritySupportTests
{
[Fact]
2015-06-11 15:15:45 -07:00
public static void TestScanContent()
{
try
{
Assert.Equal(AmsiUtils.AmsiNativeMethods.AMSI_RESULT.AMSI_RESULT_NOT_DETECTED, AmsiUtils.ScanContent(string.Empty, string.Empty));
}
finally
{
AmsiUtils.Uninitialize();
}
2015-06-11 15:15:45 -07:00
}
}
}