This enzyme modifies DNA by catalyzing the transference of a methyl group from the S-adenosyl-L methionine substrate to the N6 position of an adenine base in the sequence 5'-GANTC-3' with high specificity.