This part is a kind of semiconductor called 2N6794.
Function of this product has Trans MOSFET N-CH 500V 1.5A 3-Pin TO-39.
Manufacturers : New Jersey Semiconductor
Image and pinout :

Some of the text within the PDF file :
[ ... ]
2N6794 PDF Datasheet Download
