If you're carrying in a state that does not share reciprocity with yours, you broke the law and most likely will be arrested. (In Md, they'll probably put you under the jail

) Again, if it were me, I don't care if I was only in the state for 10 feet, I'd find a way around. They have no business telling me I have no right to protect myself and my family...

Your question can be answered on the site under 'must inform'.
If it's a 'must inform' situation, the first thing you do is put your hands in plain sight and tell him or her you are carrying and produce all necessary documentation. They may or may not check your gun, it's different every time, and a lot depends on your general attitude...in other words...PLAY NICE!!!
It's never a bad idea to contact a lawyer that specializes in gun laws and get all the info you can...never take legal advice from your friend or some guy on the internet, especially when your freedom is on the line...