/// <summary> /// Scrubs the files. /// </summary> /// <param name="path">The path.</param> /// <param name="mode">The mode.</param> /// <param name="isDeepScan">if set to <c>true</c> [is deep scan].</param> /// <param name="reportPath">The report path.</param> /// <param name="scrubbingStats">The scrubbing stats.</param> /// <returns>System.Int32.</returns> public int ScrubFiles([In, MarshalAs(UnmanagedType.BStr)] string path, [In, MarshalAs(UnmanagedType.U4)] ScrubbingMode mode, [In, MarshalAs(UnmanagedType.Bool)] bool isDeepScan, [In, MarshalAs(UnmanagedType.BStr)] string reportPath, [In, MarshalAs(UnmanagedType.Struct), Out] ref SCRUBBING_STATS scrubbingStats) { scrubbingStats.ErrorFilesCreated = 0; return(0); }
/// <summary> /// Scrubs the files. /// </summary> /// <param name="path">The path.</param> /// <param name="mode">The mode.</param> /// <param name="isDeepScan">if set to <c>true</c> [is deep scan].</param> /// <param name="reportPath">The report path.</param> /// <param name="scrubbingStats">The scrubbing stats.</param> /// <returns>System.Int32.</returns> public int ScrubFiles([In, MarshalAs(UnmanagedType.BStr)] string path, [In, MarshalAs(UnmanagedType.U4)] ScrubbingMode mode, [In, MarshalAs(UnmanagedType.Bool)] bool isDeepScan, [In, MarshalAs(UnmanagedType.BStr)] string reportPath, [In, MarshalAs(UnmanagedType.Struct), Out] ref SCRUBBING_STATS scrubbingStats) { return(m_managementObject.ScrubFiles(path, mode, isDeepScan, reportPath, ref scrubbingStats)); }