elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Curso de javascript por TickTack


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP) (Moderador: kub0x)
| | | |-+  C# Pointer variables Safe
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: C# Pointer variables Safe  (Leído 1,753 veces)
Miseryk

Desconectado Desconectado

Mensajes: 225


SI.NU.SA U.GU.DE (2NE1 - D-Unit)


Ver Perfil
C# Pointer variables Safe
« en: 11 Noviembre 2016, 15:59 pm »

Hay alguna manera de sacar el puntero de una variable usando modo safe?

por ej sacar el puntero de:
Código
  1. byte [] asd;
  2. int asd2;
  3. string asd3;
  4.  

Saludos.


En línea

Can you see it?
The worst is over
The monsters in my head are scared of love
Fallen people listen up! It’s never too late to change our luck
So, don’t let them steal your light
Don’t let them break your stride
There is light on the other side
And you’ll see all the raindrops falling behind
Make it out tonight
it’s a revolution

CL!!!
fran800m

Desconectado Desconectado

Mensajes: 204



Ver Perfil
Re: C# Pointer variables Safe
« Respuesta #1 en: 13 Noviembre 2016, 14:06 pm »

No sabía la respuesta, pero me sonaba haber tocado punteros trabajando con Freeimage y cosas así.
Simplemente he puesto en Google ".net get pointer to object"

¿Es ésto lo que buscas?

http://stackoverflow.com/questions/4994277/memory-address-of-an-object-in-c-sharp

Incluso si no lo es me da que la clase IntPtr va a andar de por medio.

Un saludo,


En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Apache 2.2.14 mod_isapi Dangling Pointer
Nivel Web
Mafmaestro 4 8,191 Último mensaje 14 Septiembre 2011, 15:57 pm
por Tronos154
Ayuda como leer un Pointer
Programación Visual Basic
abdiel2475 5 3,333 Último mensaje 18 Enero 2011, 23:55 pm
por abdiel2475
Pointer a función (C y VB6)
Ingeniería Inversa
calk9 3 2,809 Último mensaje 14 Noviembre 2013, 02:43 am
por calk9
Duda con Stack Pointer (Registro 13)
ASM
JonaLamper 3 2,878 Último mensaje 27 Marzo 2014, 23:50 pm
por xv0
Duda existencial Struct pointer
Programación C/C++
DMT 2 2,003 Último mensaje 24 Junio 2016, 07:38 am
por DMT
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines