A peace officer may stop any person abroad in a public place whom the officer reasonably suspects is committing, has committed, or is about to commit:
The peace officer may demand of such person the person's name, address, and an explanation of the person's actions. When a peace officer has stopped a person for questioning pursuant to this section and reasonably suspects that the officer is in danger of life or limb, the officer may search such person for a dangerous weapon. If the peace officer finds such a weapon or any other thing, the possession of which may constitute a crime, the officer may take and keep it until the completion of the questioning, at which time the officer shall either return it, if lawfully possessed, or arrest such person.
N.D.C.C. § 29-29-21