First off we need to know what it is and how big the magazine is.
AA Arms AP-9 auto-pistol and AP-9, Target AP-9 and Mini AP-9 pistols
Bushmaster auto-pistol
Calico M-950 auto-pistol and M-110 pistol
Claridge Hi-Tec Models S, L, T, ZL-9 and ZT-9 pistols
Cobray M10, M11, and RPB M10/M11/SM10/SM11 and SWD M10/M11/SM10/SM11 pistols
CZ Skorpion auto-pistol
Encom MK-IV, MP-9 and MP-45 assault pistols, including MP-9, MP-45 mini pistols
Federal XP-450, XP-900 auto-pistols
Goncz High-Tech long pistol
Grendel P-30, P-30M, P-30L and P-31 pistols
Heckler&Koch SP89 auto-pistol
Ingram M10, M11 pistols
Interdynamics KG-99 assault pistol
Intratec Tec-9, Tec-9S, Tec-9M and Tec-9MS auto-pistols (as well as any semi-automatic variant including Tec-DC9, Tec-DC9M, Tec-9A, Tec-Scorpion, Tec-22T and Tec-22TN)
Iver Johnson Enforcer Model 3000 auto-pistol
Kimel Industries AP-9 pistol
Leader Mark5 auto-pistol
Maadi Griffin pistol
OA-93 assault pistol
Patriot pistol
Partisan Avenger auto-pistol
Spectre auto-pistol
Sterling MK6 carbine
Steyr SPP auto-pistol
Sterling Mk7, Mk7 C4 and Mk7 C8 pistols
US Arms PMAIP assault pistol
UZI, Micro-UZI pistols
XM231S pistol and A1, A2, A3 Flattop pistols
That is the list of prohibited pistols in Canada, if it is any of those then no you cannot have it. If the magazine capacity is more than 10 rounds it is illegal. If it is a .25 or .32 it is illegal. Also if the barrel is less than 4.1 inches. Ultimately to avoid trouble you need to go to the police and tell them this. As for the license, a hunting license does not cut it . Too have practically any gun in Canada you need a PAL.