src/MonoTorrent.Client/MonoTorrent.Client/Managers/TorrentManager.cs
/// <summary>
/// Marks the <see cref="TorrentManager"/> as needing a full hash check. If <see cref="EngineSettings.AutoSaveLoadFastResume"/>
/// is enabled this method will also delete fast resume data from the location specified by
/// <see cref="EngineSettings.GetFastResumePath(InfoHash)"/>. This can only be invoked when the <see cref="State"/> is
/// <see cref="TorrentState.Stopped"/>.
/// </summary>
/// <returns></returns>
Marks the  as needing a full hash check. If
is enabled this method will also delete fast resume data from the location specified by
. This can only be invoked when the  is
.
Marks the as needing a full hash check . If is enabled this method will also delete fast resume data from the location specified by . This can only be invoked when the is .
public async Task SetNeedsHashCheckAsync ()
        {
            await ClientEngine.MainLoop;
            if (State != TorrentState.Stopped)
                throw new InvalidOperationException ("SetNeedsHashCheckAsync can only be called when the TorrentManager is in the 'Stopped' state");
            SetNeedsHashCheck ();
        }
public async Task SetNeedsHashCheckAsync ( ) { await ClientEngine . MainLoop ; if ( State != TorrentState . Stopped ) throw new InvalidOperationException ( " " ) ; SetNeedsHashCheck ( ) ; }
Marks the  as needing a full hash check.
Marks the as needing a full hash check .
None