Disintegrators should be used for mine-fields.
But I really like the idea of a C4-block for self-destructing your ship.
You can hit C4 with a hammer, let plumb fall on it, burn it and cook your meal over it, fire a high-speed sniper gun with phosphore cloaking at it and do almost everything - it won\'t explode (There is a Mystbusters episode where they do experiments with C4).
But once you detonate a special detonator, it will explode.
As a weapon, I like the idea of liquid/gas explosives which condense on a enemy ships hull. If you fire your guns, you will not hit anything that can explode. But once condenses on your hull ... Booom.
You could fly through such a minefield and will never die, as long as there is no trigger - like an enemy turret.