I don't think a gun will provide the necessary heat. I could be wrong, but, the fastener is a pretty big heat sink and the wattage required will likeley be pretty hefty.
I used a Prest-o-Lite torch. I think the metal is light enough that a standard hardware store Bernz-o-Matic would do the trick. Use the finest tip and flame you can, concentrate the heat to the nut. The heat will pull the solder into the void between the nut (actually more like a bolt anchor)and the silencer metal. Even if you don't get a good soldered connection between the two, the solder will jamb up and prevent the nut from turning. Afterward, apply the heat to the bolt - not a lot, and don't remelt the solder - just get it hot. attempt to remove the bolt while hot. The problem is the thread sealant. Its tough stuff. If your interested in salvaging and possibly reusing the silencer for any future reason, clean out the threads and re-tap to clean all the sealant out. Then do the same to the bolt threads and coat with an anti-sieze compound. Also, replacement bolts of the same configuration are readily available wherever there is a nice selection of metric fasteners stocked. Whenever I get a whim, I sometimes change silencers (long, short, quiet, loud...). I always anti-sieze and use a lock washer instead of thread sealant. I have never had a bolt stick or a nut turn since - with the one or two exceptions where the solder broke free. I believe all occassions where the solder broke free was from initial attempts where I uses regular lead solder - Which for that matter works fine also and requires less heat. If you don't have a good torch, regular leaded solder may be your best bet. If you intend to swap silencers from time to time, you just may have to re-do once in a while.