STBootLib.STBoot.Unprotect C# (CSharp) Méthode

Unprotect() public méthode

public Unprotect ( ) : Task
Résultat Task
        public async Task Unprotect()
        {
            /* no support for unprotect? */
            if (!Commands.Contains(STCmds.WR_UNPROTECT))
                throw new STBootException("Command not supported");

            /* no support for unprotect? */
            if (!Commands.Contains(STCmds.RD_UNPROTECT))
                throw new STBootException("Command not supported");

            await ReadUnprotect();
            await WriteUnprotect();
        }