Sealing and encapsulation of electronic devices and PCB, bonding of ceramics and metals in wide temperature range to protect from moisture penetration