Questions tagged [interception]
174 questions
0
votes
1 answer
How do I register an interception injection for interfaces which inherit a marker interface?
For example I would like to call the following code to register a whole set of services which I want to inject a policy for:
container
…

brumScouse
- 3,166
- 1
- 24
- 38
0
votes
2 answers
Prevent interception of a call over an interface
I have an interface which implementing classes export via MEF in my application. The implementing classes are in separate assemblies and aren't known about at compile-time (think plug-ins).
The interface basically consists of a call which says 'here…

Matt Whitfield
- 6,436
- 3
- 29
- 44
0
votes
2 answers
File System Filter MiniDriver
I have a Program.exe that I need to intercept. That specific program uses CreateFile & ReadFile, however I need to intercept ReadFile function.
I thought about writing my own File System Filter MiniDriver.
I found this link by Googling:…

user1327407
- 103
- 1
- 7
-1
votes
1 answer
Python, plotly extrapolate graph to get Y-axis Intercept
Is it possible to extrapolate my plotly graph to get the Y-axis intercept?
Here is my code, i used Plotly express but can also use other types:
import pandas as pd
import numpy as np
import plotly.express as px
a = np.array([[0.5,1,2,3,5,7],…

DarkHackerxXx
- 51
- 5
-1
votes
1 answer
Forwarding a sequence of scancodes via InputSimulator C#
I'm having a challenge with scancodes, and how to convert these to virtual key codes & ASCII.
I'm using the Interception/Oblita library to retrieve all scancodes coming from a barcode scanner.
Regular strokes keystrokes like "A" "!" and not an issue…

MMM
- 311
- 5
- 14
- 30
-1
votes
1 answer
How to modify response using Interception?
I use the following interception in Angular:
return next.handle(request).pipe(
map((event: any) => {
if (event.body.data) {
return event.body.data;
}
}));
My JSON response contains data property. So I try to…

POV
- 11,293
- 34
- 107
- 201
-1
votes
1 answer
How to do conditional touch interception?
I have a RecyclerView what fills my main activity. It works fine, however, sometimes a view (let's call this View2) appear at the bottom of the activity, so the RecyclerView remains visible, but the appearing View2 overlaps the bottom of the list.…

Ukubu
- 810
- 1
- 6
- 18
-2
votes
1 answer
Intercept all function entry and exit points without third-party components
I have a java program. I would like to intercept every function entries and exits and log them, without changing the existing (~5k) function bodies.
I know AspectJ and Spring AOP are suitable for that. But unfortunately, I am not allowed to use them…
user2218825
-3
votes
1 answer
how to get specific cookies from requests when the library doesn't handle them for you
So I have this page I need to make login in constantly, but I can't even make login in the page if I don't use some cookies in the headers.
The problem is if I use the cookies postman gives me, they will eventually expire and I have to replace all…

Vitor Araújo
- 292
- 4
- 19