C# application - pointer location.

How can I found a line number - the location of pointer inside of my C# application?

Not sure which class I should use for it.

Any advice?

Thanks.

I figured it out.

Hello,
Here is the solution. May be useful for others.
image.png

Thanks vikram6892. I did almost the same.

t = aController.Rapid.GetTask(“T_ROB1”);
var p = t.ProgramPointer;
var outputRow = p.Range.Begin.Row.ToString();