SaeedP
Well-known member
- Joined
- Oct 21, 2020
- Messages
- 116
- Programming Experience
- 3-5
Hello,
When I want to use these lines I encounter a red line under seek and copy to. And
Warns me up "Are you missing a directive"?
What should I do?
regards
When I want to use these lines I encounter a red line under seek and copy to. And
Warns me up "Are you missing a directive"?
C#:
var state = _instaApi.GetStateDataAsString();
using (var fileStream = File.Create(stateFile))
{
state.Seek(0, SeekOrigin.Begin);
state.CopyTo(fileStream);
}
What should I do?
regards