How do you get Darkrai in Pokemon soul silver?

Darkrai can only be found in Pokemon Diamond/Pearl/Platinum, via an event or Pokemon Ranger, so unless you use a cheat code, the only way you can get it is to trade it from one of those games.
trade from dppt other than this there is no other way

you get darkrai in a event, or an action replay