Is there a way to restrict the two navmesh agents two follow to different paths?

Navemsh agent : I want to restrict two different navmesh agents to follow two specific paths. is it possible? if yes please help then

Check out area masks. They are defined for parts on the mesh and restrict agents to them:

could you please post sample code?